Question: in C Write a program to generate 5 random integers and compute the average of them. The average should be a float number, so be
in C Write a program to generate 5 random integers and compute the average of them. The average should be a float number, so be careful with the integer division which does not generate any fraction. Please check Section 2.19 regarding random numbers and check Section 2.11 for the integer division.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
