My pain is my motivation!!!!!
Read the post and Follow for more post
Tuesday, September 18, 2018
QBasic Program to check whether the given number is odd or even
Write a program to check whether the given number is odd or even.
CLS
INPUT"ENTER ANY NUMBER";N
IF N MOD 2=0 THEN
PRINT "THE GIVEN NUMBER IS EVEN"
ELSE
PRINT "THE GIVEN NUMBER IS ODD"
END IF
END
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Experience of JM
During my time in high school I had it really good moments, but my best moments that I've experienced are in a particular class during ...
My Father
My father My father name is Prem kumar Sunuwar.He is 39 years old.He is a mansion.He is my super hero of my life. He always help and su...
QBASIC to count total number of vowels in words using FUNCTION
DECLARE FUNCTION COUNT ( N$ ) CLS INPUT "Enter any word"; N$ PRINT "Total number of vowels = "; COUNT ( N$ ) END ...
No comments:
Post a Comment