Question: Create a python program to do the following. Create 3 variables named ' a ' , ' b ' , ' c ' . Prompt

Create a python program to do the following.
Create 3 variables named 'a','b','c'.
Prompt the user to input a value for each variable.
Add the three variables together and save the result as a variable named "total".
Display the result.
Save to the variable named "result" of a2+b2+c2.
Display the result.
Save to the variable named "result" of a/(b+c).
Display the result.
When the program is complete reset all the variables to 0.
Display variables after reset.

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!