CLS
INPUT "Enter the first number: ", A
FOR I = 2 TO 5
INPUT "Enter the next number:", N
IF N > A THEN A = N
NEXT I
PRINT "The greatest number is: ", A
END
INPUT "Enter the first number: ", A
FOR I = 2 TO 5
INPUT "Enter the next number:", N
IF N > A THEN A = N
NEXT I
PRINT "The greatest number is: ", A
END
answer doesn't came....
ReplyDeleteTry to debug your code or send me to debug it
ReplyDelete