Monday, October 21, 2019

QBasic Programming:


To Display Odd or Even Number

CLS
INPUT  "Enter any number"; N
IF N MOD 2 = 0 THEN
PRINT "The  number is even"
ELSE
PRINT "The number is odd"
END IF
END


No comments:

Post a Comment

CLOUD COMPUTING: A CONTEMPORARY TECHNOLOGY

Today's world is highly dependent or reliant on computers and the internet than ever before. With the passage of time contemporary techn...