
- Forum
- Programming Talk
- C and C++
- C program that reads a file and outputs a file
C program that reads a file and outputs a file
This is a discussion on C program that reads a file and outputs a file within the C and C++ forums, part of the Programming Talk category; I need to write a C program for an assignment. I know almost nothing about C, and it must read ...
-
04-14-2011, 09:46 PM #1
- Join Date
- Apr 2011
- Answers
- 1
C program that reads a file and outputs a file
I need to write a C program for an assignment. I know almost nothing about C, and it must read a file of data structured as:
Student name: last,first
Student grade: whole number
e.g.
Jones,Michael
88
There is an unknown amount of students in a file I have to create
Produce output from that list to the screen and then to a file called report.txt
The output:
First Last Number Letter
Name Name Grade Grade
____________________________________
students here
-----------------------------------------
Count of students: XX
Average Grade: XX

Reply With Quote





