You are on page 1of 1

Sameera hafeez

04092

10 CLS

20 INPUT A

21 INPUT B

22 INPUT C

30 IF A<B AND A<C THEN GOTO 40 ELSE GOTO 50

40 X$="a is the smallest number":GOTO 80

50 IF B<A AND B<C THEN GOTO 60 ELSE GOTO 70

60 X$="b is the smallest number":GOTO 80

70 X$="c is the smallest number"

80 PRINT "biggest number"

90 PRINT

100 PRINT "first number",":";A

110 PRINT "second number",":";B

120 PRINT "third number",":";C

130 PRINT X$

140 END

Output

first number : 4

second number : 5

third number : 6

a is the smallest number

You might also like