Fstream need help!

I try to open and read the file. The problem how can you calculate avgrate for each student?

like this


Z	28.2	64.5	76	66.74	 95.4
Y	88.4	40	75	92	 88
X	60.5	22.1	5.5	62.2	 54.5



What problem are you having? What have you tried so far?
Topic archived. No new replies allowed.