Topic: Mathematics Problem / Level: advanced

Problem: Write a program to calculate the sum of the first n odd numbers.

Run the code to see the output here...