++++++++++++++++++++++++++++++++++++
+ Program Made By: +
+ Muhammed Abbas +
++++++++++++++++++++++++++++++++++++
Ok
LIST
10 CLS
20 FOR A=1 TO 5
30 INPUT; NUM(A)
40 NEXT A : CLS
50 IF NUM(1)<NUM(2) THEN NUM(1)=NUM(2) ELSE NUM(1)=NUM(1)
60 IF NUM(1)<NUM(3) THEN NUM(1)=NUM(3) ELSE NUM(1)=NUM(1)
70 IF NUM(1)<NUM(4) THEN NUM(1)=NUM(4) ELSE NUM(1)=NUM(1)
80 IF NUM(1)<NUM(5) THEN NUM(1)=NUM(5) ELSE NUM(1)=NUM(1)
90 PRINT NUM(1)
Ok
+ Program Made By: +
+ Muhammed Abbas +
++++++++++++++++++++++++++++++++++++
Ok
LIST
10 CLS
20 FOR A=1 TO 5
30 INPUT; NUM(A)
40 NEXT A : CLS
50 IF NUM(1)<NUM(2) THEN NUM(1)=NUM(2) ELSE NUM(1)=NUM(1)
60 IF NUM(1)<NUM(3) THEN NUM(1)=NUM(3) ELSE NUM(1)=NUM(1)
70 IF NUM(1)<NUM(4) THEN NUM(1)=NUM(4) ELSE NUM(1)=NUM(1)
80 IF NUM(1)<NUM(5) THEN NUM(1)=NUM(5) ELSE NUM(1)=NUM(1)
90 PRINT NUM(1)
Ok
No comments:
Post a Comment