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

profileThehonest
 (Not rated)
 (Not rated)
Chat

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

 

 

 

    • 10 years ago
    A+ Work
    NOT RATED

    Purchase the answer to view it

    blurred-text
    • attachment
      qqqqq11.doc