re
1
To input marks of five subjects then calculate total marks and percentage.
Answers
Answered by
1
Answer:
CLS
INPUT "enter marks in Maths:", math
INPUT "enter marks in English:",eng
INPUT "enter marks in Science:",sci
INPUT "enter marks in History:",his
INPUT "enter marks in Geography:",geo
PRINT "total marks are:" + math + geo + eng + sci + his
PRINT math + geo + eng + sci+ his / 5 × 100
END
Similar questions