1
May.2018
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
Category: Basic Programs, Computer Programs
No Comments