PDA

View Full Version : C program for average using FILE


yogaraj
Dec 15, 2009, 06:16 PM
C program for average of n numbers using file handling

Perito
Dec 15, 2009, 08:35 PM
You can certainly average numbers. I assume you can also open, close, write to and read from files. Just combine those. I suggest you create a file with the numbers you are going to average and append their average to the bottom of the file.