Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
st number to the power of
nd number to the power of
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started