Question: Prompt the user to make a selection from 1 to 3 . Additionally, inform the user to enter 0 to end the program. If the

Prompt the user to make a selection from 1 to 3. Additionally, inform the user to enter 0 to end the program.
If the user enters 1, the program will ask them to provide a number. You will then output the square root of the number
If the user enters 2, the program will ask them to provide two numbers. It will raise the first number to the second number's power. You will then output the resulting calculation (Be sure to use the built-in pow function)
If the user enters 3, the program will ask them to provide their GPA. It will output their letter grade based on their GPA (A, B, C, D, F)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!