Computer Science, asked by amanjds07, 1 year ago

write a basic program using if then else statement?​

Answers

Answered by jasminlaskar277
2

Answer:cls

INPUT "ENTER FIRST NUMBER (A) : ",A

INPUT "ENTER SECOND NUMBER (B) : , B

IF A IS GEATER THAN B THEN PRINT "A IS GREATER" ELSE PRINT "B IS GREATER"

END

Explanation: THE OUTPUT SCREEN WILL LIKE THIS:-

ENTER FIRST NUMBER (A) : 88

ENTER SECOND NUMBER (B) : 92

B IS GREATER

Similar questions