If a student in the class does not know what the instructor wants, how is anyone else to know :-?

You could use Math.PI in place of 3.14159.

Expanding the code could turn into just about...