WRITE A QBASIC PROGRAM TO FIND THE PERCENTAGE OF MARKS OBTAINED BY SUMIT WHO HAS SCORED 95 IN MATHEMATICS, 82 IN SCIENCE, 70 IN ENGLISH AND 98 IN HINDI.
Answers
Answered by
1
Answer:
total = 400
tot1 = 95 + 82 + 70 + 98
per = (tot1 / total) * 100
print("Sumit has secured" , per , "percentage in the exams")
Explanation:
Answered by
0
Let x be the marks obtained by Ravi in the third unit test.
Since the student should have an average of at least 60 marks.
3
70+75+x
≥60
⇒145+x≥180
⇒x≥180−145
⇒x≥35
Thus the student must obtain a minimum of 35 marks to have an average of at least 60 marks.
Similar questions