Computer Science, asked by annsarahjoy2008, 3 months ago

Give the outputs of the program QBASIC

A=25

B=2

IF A MOD B<>0 THEN

PRINT "ODD NUMBER"

ELSEIF

PRINT "EVEN NUMBER

ENDIF

Answers

Answered by MinakshiRanjan
1

Answer:

ODD NUMBER is the output

Explanation:

the output is odd number because the condition given here is a mod b is less than or greater than 0 and the remainder that we get by dividing 25 by 2 is 1 and as 1 is greater than zero it will give the output Odd number

Similar questions