Question: Problem 6 : Take a whole number from the user that is larger than 1 Store a copy of the number for later Add 2

Problem 6:
Take a whole number from the user that is larger than 1
Store a copy of the number for later
Add 2 to the number
Multiply the number by itself (not the stored copy, but the current value)
Divide the number by 4
Subtract away the stored value from step 2
Multiply the number by 4
Take the square root of the number (you can use cmath's sqrt function)
The result should be the same for any value specified
Problem 7:
Get a random number from the user
Remember the original number
Add 3 to the number
Double the number
and then multiply by 5.
Knock off the last digit (remove the 1's place)
Finally remove the original number
What is the result?
 Problem 6: Take a whole number from the user that is

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 Databases Questions!