create a pusedocode #include #include #include using namespace std; int main (){ float ga,fir,sec,thir,fin, q1, q2, q3, L1, L2, L3, L4, LP,t,fe,le,p,q; char rem; int c; home: cout<<"\t\tComputation of Grades" << endl; cout<<"\n\nMajor Examinations (100 pts each)" <> fir ; cout<<"Second: "; cin>> sec ; cout<<"Third: "; cin>> thir ; cout<<"Final: "; cin>> fin ; cout<<"\nQuizzes (40 pts each)" <> q1 ; cout<<"Qz # 2: "; cin>> q2 ; cout<<"Qz # 3: "; cin>> q3 ; cout<<"\nLaboratory Exercises (50 pts each)" <> L1 ; cout<<"Exer #2: "; cin>> L2 ; cout<<"Exer #3: "; cin>> L3 ; cout<<"Exer #4: "; cin>> L4 ; cout<<"\nLaboratory Project (100 pts): "; cin>> LP ; t=(((((fir+sec+thir)/300)*85)+15)*.3); fe=((((fin/100)*85)+15)*.3); q=(((((q1+q2+q3)/120)*85)+15)*.1); le=(((((L1+L2+L3+L4)/200)*85)+15)*.1); p=(((LP/100)*85+15)*.2); ga= t+fe+q+le+p; cout<< "\n\n\t\t\t\tGen.Av.:" << round(ga) <=95){ cout<< "Excellent"; } else if (round(ga)<=94 && round(ga)>=90){ cout<< "Very Good"; } else if (round(ga)<=89 && round(ga)>=85){ cout<< "Good"; } else if (round(ga)<=84 && round(ga)>=80){ cout<< "Satisfactory"; } else if (round(ga)<=79 && round(ga)>=75){ cout<< "Fair"; } else if (round(ga)<75){ cout<< "Failed"; } else { cout<<"Error! Please Check Input Score!\n"; system("pause"); system ("cls"); goto home; } cout<<"\n\nPress to Re-run the Program" < to exit" <

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

create a pusedocode

#include<iostream>
#include<cmath>
#include<conio.h>

using namespace std;

int main (){
float ga,fir,sec,thir,fin, q1, q2, q3, L1, L2, L3, L4, LP,t,fe,le,p,q;
char rem;
int c;

home:
cout<<"\t\tComputation of Grades" << endl;
cout<<"\n\nMajor Examinations (100 pts each)" <<endl ;
cout<<"First: ";
cin>> fir ;
cout<<"Second: ";
cin>> sec ;
cout<<"Third: ";
cin>> thir ;
cout<<"Final: ";
cin>> fin ;

cout<<"\nQuizzes (40 pts each)" <<endl ;
cout<<"Qz # 1: ";
cin>> q1 ;
cout<<"Qz # 2: ";
cin>> q2 ;
cout<<"Qz # 3: ";
cin>> q3 ;

cout<<"\nLaboratory Exercises (50 pts each)" <<endl;
cout<<"Exer #1: ";
cin>> L1 ;
cout<<"Exer #2: ";
cin>> L2 ;
cout<<"Exer #3: ";
cin>> L3 ;
cout<<"Exer #4: ";
cin>> L4 ;

cout<<"\nLaboratory Project (100 pts): ";
cin>> LP ;

t=(((((fir+sec+thir)/300)*85)+15)*.3);
fe=((((fin/100)*85)+15)*.3);
q=(((((q1+q2+q3)/120)*85)+15)*.1);
le=(((((L1+L2+L3+L4)/200)*85)+15)*.1);
p=(((LP/100)*85+15)*.2);
ga= t+fe+q+le+p;

cout<< "\n\n\t\t\t\tGen.Av.:" << round(ga) <<endl;
cout<< "\t\t\t\tRemarks:" << rem;

rem:
if (round(ga)<=100 && round(ga)>=95){
cout<< "Excellent";
}

else if (round(ga)<=94 && round(ga)>=90){
cout<< "Very Good";
}

else if (round(ga)<=89 && round(ga)>=85){
cout<< "Good";
}

else if (round(ga)<=84 && round(ga)>=80){
cout<< "Satisfactory";
}
else if (round(ga)<=79 && round(ga)>=75){
cout<< "Fair";
}
else if (round(ga)<75){
cout<< "Failed";
}

else {
cout<<"Error! Please Check Input Score!\n";
system("pause");
system ("cls");
goto home;
}

cout<<"\n\nPress <Enter Key> to Re-run the Program" <<endl;
cout<<"\nPress <any key> to exit" <<endl;

cin.ignore();
c=getch();
if (c==13){
system("pause");
system("cls");
goto home;
}




return 0;}

Expert Solution
steps

Step by step

Solved in 3 steps

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY