Answer to Question #15986 in C++ for aco xii mharz ada

Question #15986
create a program that will compute the prelim grade of a student : formula : CS : quiz avr.+ recitation avr. + project/assignment/avr. ____________________________________ 3 PG : cs x 2 + PER _____________ 3 TARGET OUTPUT : Please enter student name :_________ Please enter the Quiz average :_______ Please enter the Recitation Average:_______ Please enter the project/assignment :__________ Please enter prelim exam rating:__________ The prelim grade of the student is:___________ PASAGOT NAMAN PO . PLEASE NEED LANG :[[[[ ASAP ^^ teinks po :))
1
Expert's answer
2012-10-10T09:10:18-0400

#include<iostream>
using namespace std;

char name[99];
int project, quiz, recitation, PER;
float CS;

void main(){
cout<<"Please enter student name: ";
cin>>name;
cout<<"Please enter the Quiz average: ";
cin>>quiz;
cout<<"Please enter the Recitation Average: ";
cin>>recitation;
cout<<"Please enter the project/assignment: ";
cin>>project;
cout<<"Please enter prelim exam rating: ";
cin>>PER;
CS = (quiz + recitation + project)/3;
cout<<"\nThe prelim grade of a student is: "<<(2*CS+PER)/3<<"\n";
system("PAUSE");
}



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

Assignment Expert
03.07.14, 18:12

Dear Jennifer P Logo,
You're welcome. We are glad to be helpful.
If you liked our service please press like-button beside answer field. Thank you!

Jennifer P Logo
02.07.14, 01:27

very good....

Leave a comment

Ask Your question

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS
paypal