wtite a pogram to enter totmark and fullmark of student and calculate its percentage
Answers
Answered by
1
Input
Enter marks of five subjects: 95 76 85 90 89
Output
Total = 435
Average = 87
Percentage = 87.00
Answered by
0
#include <iostream>
using namespace std;
int main()
{
int tmark, tmark, percent:
count<<""Enter your total mark and full mark: ;
cin>>tmark>>fmark;
percent = tmark*100/fmark
count<<"Your mark percentage is "<<percent;
return (0):
}
Similar questions
Computer Science,
6 months ago
Computer Science,
6 months ago
Science,
6 months ago
Math,
1 year ago
Math,
1 year ago
Physics,
1 year ago
Biology,
1 year ago