write a C program to prompt the user to enter random integers on the keyboard




Q  write a C program to prompt the user to enter random integers on the keyboard. Your program should read the numbers until the value zero, which indicates the end of file, is reached. The value zero should not be counted as part of the data. The integers may be positive or negative. Your program should print all the numbers entered in an output file called output.txt. Your program should also print, on the monitor, the average of all the numbers as well as the percentage of the numbers that are positive. Comment your program liberally