Write a C program that reads integers from the file scores.dat.

Write a C program that reads integers from the file scores.dat. After all the integers have
been read, the program writes the sum of all the nonnegative integers to the video
display. Assume that the file scores.dat contains at least one integer.


Leave a Reply