I have a txt file called test.txt which contains:
ID NUMBER NAME EXAM1 EXAM2 EXAM3
040140101 Furkan Cingi 89 85 79
040140102 Faruk Yilmaz 70 70 50
040140103 Fatma Yildiz 65 20 3
040140104 Burak Yilmaz 10 11 12
040140105 Burkina Sarz 8 88 100
040140106 Bame Mert 18 28 59
040140107 Barnie Esry 56 20 6
040140108 Farnie Zarni 80 40 85
040140109 Neden Eser 78 45 10
040140110 Son Eser 14 58 45
How can I get each exam grades and compute mean and then write into result.txt file ?
I used structure for this but can't read only exam grades.