Write the algorithm to find the average of the marks scolded by a student in three subjects
Answers
Answered by
7
Answer:
- START THE PROGRAM.
- DECLARE 4 VARIABLES OF TYPE FLOAT. FLOAT M1,M2,M3,AVG;
- INPUT VALUES FOR THE THREE MARKS FROM USER.
- DISPLAY MARKS(IF NEEDED)
- CALCULATE AVERAGE USING THE FORMULA. AVG=(M1+M2+M3)/3.
- DISPLAY AVERAGE(IF NEEDED)
- EXIT THE PROGRAM
Similar questions