A school conducts three exams namely term1 exams, term2 exams and
final term exams. Final marks scored (weighted marks) are computed as
30% of term1 and term2 each’s marks +40% of the final marks. Write a
program to compute the weighted marks for a student who scored 412 in
first term, 423 in second term and 430 in third term. Then compute the
weighted percentage out of 500 marks.
Answers
Answered by
0
Answer: In C++
#include<iostream>
int main()
{
int a,b,c;
float total,percentage;
std::cin>>a>>b>>c;
total=(a*0.3)+(b*0.3)+(c*0.4);
percentage=(total*100/500);
std::cout<<percentage;
}
Explanation:
total marks=(412*30/100)+(423*30/100)+(430*40/100)
=422.5
percentage=total*100/500
=84.5
Answered by
0
Answer:
Explanation:
hope this will help you
Attachments:
Similar questions