Question: Write it in C programming ! Declare two integer variables (a-4; b-5: and a variable of type float called average. Compute the average so that

Write it in C programming !  Write it in C programming ! Declare two integer variables (a-4;

Declare two integer variables (a-4; b-5: and a variable of type float called average. Compute the average so that the computer does an integer division. Then, recompute the average in two ways so that the computer does a floating-point division. The output is shown below. Integer division result: 4.000000 Floating-point division result: 4.500000 Floating-point division result: 4.500000

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!