Suyash+Shrivastava



__PROGRAM NO.1__

10 CLS 20 N = 1 30 IF N < 100 THEN GOTO 40 ELSE GOTO 70 40 PRINT N 50 N = N + 10 60 GOTO 20 70 END

__PROGRAM NO.2__ 10 CLS 20 INPUT "enter first number:"; n1 30 INPUT "enter second number:"; n2 40 IF n1 > n2 THEN PRINT "greater number is:"; n1 ELSE PRINT "greater nuumber is:"; n2 50 END

__PROGRAM NO.3__

10 REM "TO PRINT THE SUM OF 500 NUMBERS" 20 CLS 30 NO1 = 1 40 SUM = 0 50 SUM = SUM + NO1 60 NO1 = NO1 + 2 70 IF NO1 <= 21 THEN GOTO 50 80 PRINT "TOTAL OF FIRST 500 ODD NUMBERS IS:"; SUM 90 END

__PROGRAM NO.4__

10 cls 20 print "wish you a good day" 30 end

__PROGRAM NO.5__

10 cls 20 print "name" 30 print "age" 40 print "father's name" 50 print "occupation" 60 print "adress" 70 print "telephone number" 80 end

__PROGRAM NO.6__

10 cls 20 print "thought for the day," 30 print "Success is a MARATHON,its not a spirit" 40 end

__PROGRAM NO.7__

10 CLS 20 DIM A, B AS INTEGER 30 INPUT A 40 INPUT B 50 C = A + B 60 PRINT "SUM="; C 70 PRINT 80 PRINT 90 C = A * B 100 PRINT PRODUCT 110 END

__PROGRAM NO.8__

10 LET A$ = "GOOD" 20 LET B$ = "MORNING" 30 PRINT A$, B$ 40 PRINT 50 PRINT A$; B$ 60 END

__PROGRAM NO.9__

10 CLS 20 PRINT TAB(5); TAB(25); "ITEM;"; "PRICE" 30 PRINT TAB(5); TAB(25); "BMW;"; "71,00000" 40 PRINT TAB(5); TAB(25); "LCD;"; "49000" 50 PRINT TAB(5); TAB(25); "50 CHOCO LAVA CAKE;"; "1250" 60 PRINT TAB(5); TAB(25); "52 ACRES GOLDEN HOUSE;"; "99,84,00000000" 70 END

10 CLS 20 INPUT "NAME"; NA$ 30 INPUT "AGE "; NB$ 40 INPUT "FATHER's NAME"; NC$ 50 INPUT "OCCUPATION"; ND$ 60 INPUT "ADDRESS"; NE$ 70 INPUT "TELEPHONE NUMBER"; NF$ 80 END