write a program to input marks obtained out of 40 in 5 subjects and print the total sum and average marks obtained
Answers
Answered by
1
CLS
INPUT " Enter the student's name " ; NS
INPUT " Enter the marks obtained in first subject " ; MFS
INPUT " Enter the marks obtained in second subject ";MSS
INPUT " Enter the marks obtained in third subject " ; MTS
INPUT " Enter the out total marks " ; OTM
LET TM = MFS + MSS + MTS
LET P = TM / OTM * 100
PRINT " Student name is " ; NS
PRINT " The total marks obtained is " ; TM
PRINT " The percentage is " ; P
END
Similar questions
Math,
2 months ago
Hindi,
2 months ago
Math,
2 months ago
Math,
5 months ago
Accountancy,
5 months ago
Computer Science,
10 months ago
Chemistry,
10 months ago