Topic: Language Problem / Level: intermediate

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

Run the code to see the output here...