Answer to Question #269299 in C++ for Jojo

Question #269299

Design a program that generates the general average of four grading systems (Prelim, Midterm, Prefinals and Finals). Display the remarks and Equivalent Grade as output based on the following given scale. *

1
Expert's answer
2021-11-21T17:37:37-0500
#include<iostream>
using namespace std;
int main()
{
	double Prelim, Midterm, Prefinals,Finals,total=0;
	cout<<"Enter prelim grade: ";
	cin>>Prelim;
	cout<<"Enter Midterm grade: ";
	cin>>Midterm;
	cout<<"Enter prefinals grade: ";
	cin>>Prefinals;
	cout<<"Enter Finals grade: ";
	cin>>Finals;
	total=Prelim*0.3+Midterm*0.3+Prefinals*0.4+Finals*0.4;
	cout<<"Final grade: "<<total<<endl;
	return 0;
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS