Question: Comparison is always used for engineering and tech design. Please program to implement the following in Cprogram: a. Ask the user to input three integers.

Comparison is always used for engineering and tech design. Please program to implement the following in Cprogram:

a. Ask the user to input three integers.

b. Compare the three integers by conditional operator and display the minimum and maximum number on the screen.

c. Calculate and display the sum of these three integers.

d. Calculate and display the average value (save 3 digits after decimal point) of these three integers.

e. Find and display the middle number among the three integers.

f. Display the quotient and remainder of the maximum number divided by the middle number.

g. If the middle number is odd and positive, the sum will be adjusted by increasing by 1; otherwise, the sum will be adjusted by decreasing by 3

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!