Basic Program Take Inputs and Add them and Print them

REM TAKE INPUTS AND ADD THEM AND PRINT THEM
CLS
INPUT “ENTER NO OF STUDENT “; Q
FOR I = 1 TO Q
INPUT “ENTER STUDENT NAME”; W$
INPUT “ENTER COST OF FOOD”; F
INPUT “ENTER COST OF ACCOMADITION”; A
INPUT “ENTER COST OF TRAVELLING”; T
E = F + A + T
PRINT “FOOD….”; F
PRINT “ACOMADITION….”; A
PRINT “TRAVELLING….”; T
PRINT “TOTAL….”; E
NEXT I
END

Please follow and like us:

Leave a comment