Create a program that will compute the 1st quiz 11/11 2nd quiz 15/15 and the 3rd quiz 20/20 with 10% of quiz and compute the online laboratory 1st 15/20 2nd 10/20 3rd 5/20 with 30% of online laboratory and compute the exam with 20% 1st exam 30/50 2nd exam 45/50 3rd exam 20/50 and compute the quiz+online+ exam1+exam 2+ exam 3
#include <iostream>
using namespace std;
int main()
{
double q = 0.2 * (11 + 15 + 20);
double l = 0.3 * (15 + 10 + 5);
double e = 0.2 * (30 + 45 + 20);
cout << q + l + e << endl;
return 0;
}
Problem is not clear
Comments
Leave a comment