This program will perform two different calculations for a circle:
0. stop execution 1. compute its circumference 2. compute its area
This program will show use of a user-controlled loop, the if-then-else-if conditional statement, as well as creation of constants and their use in expressions. It also show using a string variable in a prompt to get informative user prompts.
This program is somewhat robust, as it does checking to see in the values the user gives make sense or are in the proper ranges. For example, when asked to input a circle radius, the program will reject negative numbers. In this case, the program goes back to the top of the loop and and has the user begin again. It is not as robust as possible, though; try giving text like "hi there" when asked for a radius.