Write a program to read from an input file


Write a program to read from an input file(StudentFile2.txt under Lab-10) for 15 students, which contains each individual student ID, the course code, letter grade, and credit hours for five courses. It should then compute the total credit hours, the grade point average for each of the 15 students and output them to a file (FormatedFile.text) with the following format: (note: for grade points use 4 for A, 3 for B, 2 for C, 1 for D, and 0 for anything else. Provide printout for just two students

Student ID: 11111 Credit-Hours Grade
EN100 3 C 
CS155 4 A 
UI100 3 B 
PH120 5 A 
AR101 3 D

Request for Solution File

Ask an Expert for Answer!!
Programming Languages: Write a program to read from an input file
Reference No:- TGS0116629

Expected delivery within 24 Hours