Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Exercise #1: (4 points) Write a program that asks the user to enter two integer numbers, obtains them from the user and prints their sum,
Exercise #1: (4 points) Write a program that asks the user to enter two integer numbers, obtains them from the user and prints their sum, average, product, difference, quotient and remainder. User proper data types and commenting in your program. Make sure the average is displayed with two decimal places. Sample Input/Output: Enter two different integers: 13 27 Sum is 40 Average is 20.00 Product is 351 Difference of 13 and 27 is -14 Quotient of 13 and 27 is O Quotient of 27 and 13 is 2 Remainder of 13 % 27 is 13 Remainder of 27 % 13 is 1
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