[color=Blue][b]PLEASE..........i've been tried this for 2 days..[/b][/color]
Write a program to calculate the grade point average (CGPA) of the student. Students are required to enter the course and the grade of the subjects taken and the next program will calculate CGPA received by students. Make sure students include data for at least two semesters for the purpose of this calculation of CGPA. For each semester, show the calculation of the overall grade obtained.
Your program should use a structure concepts to students and using the concept of arrays for the subjects taken.
semester1
MTS3013 structure programming
MTK3013 structure disckrit
MTN3013 computer organization and architecture
SEMESTER2
MTS3033 OBJECKT ORIENTED PROGRAMMING
MTN3023 NETWORKING
MTD3033 DATABASE SYSTEM
if (gred=='A')
cout<<"4.00";
else if (gred=='A-')
cout<<"3.75";
else if (gred=='B+')
cout<<"3.50";
else if (gred=='B')
cout<<"3.00";
else if (gred=='B-')
cout<<"2.75";
else if (gred=='C+')
cout<<"2.50";
else if (gred=='C')
cout<<"2.00";
else if (gred=='C-')
cout<<"1.75";
else if (gred=='D+')
cout<<"1.50";
else if (gred=='D')
cout<<"1.00";
else (gred=='F')
cout<<"0.00";
Comments
http://www.cplusplus.com/doc/tutorial/structures/
You have some more C++ code on for example rosettacode.org