Gpa and Cgpa Calculator": The Overall Coding Is Attached at The End of The Assignment
Gpa and Cgpa Calculator": The Overall Coding Is Attached at The End of The Assignment
AND CGPA
CALCULATOR
I have made a logic of calculation of GPA
and CGPA calculation here I will display
each subject of its own GPA and Also a
CGPA screenshots are attached to each
different logic
What is GPA?
ANS: The grades that you receive in your high school classes
are all averaged together to arrive at one cumulative grade,
which is then converted into your GPA. The traditional GPA
scale ranges from 0.0 to 4.0.
What is CGPA?
ANS: CGPA means Cumulative Grade Point Average.
CGPA is calculated based on all subjects that u
take. each subjects usually comes with a credit
value. some less important subjects carry between
1 to 2 credits, more important ones carry 3 to 4
cin.sync();
cin.get();
float dld,pf,lca,de,dldgpa,pfgpa,lcagpa,degpa,cgpa2;
cout<<"please enter your dld marks : ";
cin>>dld;
if (dld>0 && phy<=49)
cout<<"sorry you are fail the max marks to pass is 50 +"<<endl;
else if (dld>100)
cout<<"sorry out of range \n";
dldgpa=dld*4/100;
cout<<"your dld gpa is :";
cout<<dldgpa<<endl;
cout<<"please enter your programing fundamental marks : ";
cin>>pf;
if (pf>0 && pf<=49)
cout<<"sorry you are fail the max marks to pass is 50 +"<<endl;
else if (pf>100)
cout<<"sorry out of range \n";
pfgpa=pf*4/100;
cout<<"your programing fundamental grades is : ";
cout<<pfgpa<<endl;
cout<<"please enter your linear circuit Analysis marks : ";
cin>>lca;
if (lca>0 && lca<=49)
cout<<"sorry you are fail the max marks to pass is 50 +"<<endl;
else if (lca>100)
cout<<"sorry out of range \n";
lcagpa=lca*4/100;
cout<<"your linear circuit gpa is :";
cout<<lcagpa<<endl;
cout<<"please enter your differential equations marks :";
cin>>de;
if (de>0 && de<=49)
cout<<"sorry you are fail the max marks to pass is 50 +"<<endl;
else if (de>100)
cout<<"sorry out of range \n";
degpa=de*4/100;
cout<<"your differential equations gpa is :";
cout<<degpa<<endl;
cout<<"your 2nd semester gpa is : ";
cgpa2=(dldgpa+pfgpa+lcagpa+degpa)/4;
cout<<cgpa2<<endl;
float cgpa3;
cout<<"your cgpa is :";
cgpa3=(cgpa+cgpa2)/2;
cout<<cgpa3<<endl;
getch();
}