Computer Science, asked by aju74, 1 year ago

wtite a pogram to enter totmark and fullmark of student and calculate its percentage​

Answers

Answered by margaretrachel
1

Input

Enter marks of five subjects: 95 76 85 90 89

Output

Total = 435

Average = 87

Percentage = 87.00

Answered by Anonymous
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