Question: Write a program with a series of statements to complete the following objectives. You will use assignments, eval, int, float, input, print, strings, numbers, and

Write a program with a series of statements to complete the following objectives. You will use assignments, eval, int, float, input, print, strings, numbers, and mathematical operators. All items in the list below should be contained in one program.
Print out to the screen the following:
Your name
Get two numbers from the user (real numbers with a decimal point). Perform the following operations on the two numbers.
Print both numbers out as integers.
Print both numbers out as real numbers.
Perform each of the operations and print out the result:
addition
subtraction
multiplication
division
1st number to the power of 2
2nd number to the power of 3
Integer division
Remainder division (modulus)
Print "End of Program"
Use print statements to identify what you are doing for each operation and the resulting number.
Submit the completed code back to this assignment.

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!