Write a program to input student name and marks for 5 subject, then print
student name, calculate the total and average marks in Qbasic
Answers
Answered by
3
Answer:
fjxjrkdmsugdhdnhdhtu get hdrgeyu ufghfhdgeyjdhtrg fjxjrkdmsugdhdnhdhtu jai bddjhdjchgshjksudchdzygchgc slams
Answered by
0
Answer:
INPUT "PRICE"; P
IF P >= 5000 THEN
PRINT "20% DISCOUNT"
ELSEIF P >= 3000 THEN
PRINT "15% DISCOUNT"
ELSEIF P >= 2000 THEN
PRINT "10% DISCOUNT"
ELSEIF P >= 1000 THEN
PRINT "5% DISCOUNT"
ELSE PRINT "1.5% DISCOUNT"
END IF
this is correct answer
Similar questions