🔒 Closed help c++

Status
Not open for further replies.

EEEEERRRRRAAAA

Honorary Poster
help mga master sa programming how calculate this problem

/execute a program that will calculate the midterm grade with:
1 written quiz(15%)
1 hands on (25%)
1 project (30%)
1 examination (30%)*\

#include<iostream>

using namespace std;

int main()
{
//declaration of variables
float written;
float hands on;
float project;
float examination;

//input and output
cout<<"Grade for written: ";
cin>>written;
cout<<"Grade for hands on: ";
cin>>hands on;
cout<<"Grade for project: ";
cin>>project;
cout<<"Grade for examination: ";
cin>>examination;


//calculate result




//display result
cout<<Grade for





return 0;

}
 
para makuha mo yung percentage

15%= written * 100 / .15
25%=hands on * 100 / .25
30%=project * 100 / .30
30%=examination * 100 / .30

di ako sure sa formula ko ah
 
Status
Not open for further replies.

About this Thread

  • 10
    Replies
  • 413
    Views
  • 3
    Participants
Last reply from:
EEEEERRRRRAAAA

Online now

Members online
947
Guests online
874
Total visitors
1,821

Forum statistics

Threads
2,276,248
Posts
28,968,633
Members
1,231,182
Latest member
ewan19292762
Back
Top