🔒 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
  • 426
    Views
  • 3
    Participants
Last reply from:
EEEEERRRRRAAAA

Trending Topics

Online now

Members online
1,294
Guests online
2,455
Total visitors
3,749

Forum statistics

Threads
2,294,101
Posts
29,088,629
Members
1,208,073
Latest member
jhmrk
Back
Top