write a QBASIC program to enter the 5 marks of a student and find out the average marks
Answers
Answered by
2
Answer:
CLS
INPUT "Enter The Marks Of First Student"; s1
INPUT "Enter The Marks Of Second Student"; s2
INPUT "Enter The Marks Of Third Student"; s3
INPUT "Enter The Marks Of Fourth Student"; s4
INPUT "Enter The Marks Of Fifth Student"; s1
Average=(s1+s2+s3+s4+s5)/5
PRINT Average
END
Explanation:
Similar questions