//THIS PROGRAM CALCULATES THE GPA AND THE CGPA FOR THREE COURSE UNITS. #include using namespace std; int main() { //FOR COURSE UNIT ONE float total_marks1; float obtained_marks1; float percentage1; float GPA1; cout<<"Please enter the total marks for course unit one"<>total_marks1; cout<<"please enter the marks you obtained in course unit one"<>obtained_marks1; percentage1 = 100*(obtained_marks1/total_marks1); cout<<"The percentage mark is: "<>total_marks2; cout<<"please enter the marks you obtained in course unit two"<>obtained_marks2; percentage2=(obtained_marks2/total_marks2)*100; cout<<"the percentage mark is: "<>TOTAL_MARKS; cout<<"please enter the marks you obtained in the course unit"<>OBTAINED_MARKS; PERCENTAGE = (OBTAINED_MARKS/TOTAL_MARKS)*100; cout<<"the percentage mark is: "<=4) { cout<<"-----GRADE A-----"<=3&& CGPA<4) { cout<<"-----GRADE B-----"<=2&&CGPA<3) { cout<<"-----GRADE C-----"<=1&&CGPA<2) { cout<<"-----GRADE D-----"<