none
Tutorial - Variables RRS feed

  • General discussion

  • In the tutorial to learn about Variables, at the end of the lesson to show what you learnt the challenge was to write a program that calculates the area & circumference of a circle based on it's diameter.
    Here is my solution: NJK292
    Monday, January 21, 2019 6:40 AM

All replies

  • In the tutorial to learn about Variables, at the end of the lesson to show what you learnt the challenge was to write a program that calculates the area & circumference of a circle based on it's diameter.
    Here is my solution: NJK292

    Hi iPotato, nice code and nice comments.  You can also use Math.Pi instead of 3.14.

    Nonki Takahashi

    Wednesday, January 23, 2019 9:18 AM
    Moderator