computer programming
posted by Anonymous on .
Input a list of positive numbers (terminated by 0) into an array, find the mean (average) of the numbers in the array, and output the result. Use a subprogram to input the numbers, a function to find the mean, and a subprogram to output the result.

A car taken an average of 3 hours to reach a distance of 280 kilometers write a C program that will input a distance in meters and output how much time it will reach its destination