Answered step by step
Verified Expert Solution
Link Copied!
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,

image text in transcribed

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

blur-text-image
Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Records And Database Management

Authors: Jeffrey R Stewart Ed D, Judith S Greene, Judith A Hickey

4th Edition

0070614741, 9780070614741

More Books

Students explore these related Databases questions