Write a program in QBasic to check whether a number is even or odd.
Answers
Answered by
0
Answer:
fyititykrtyaeusttjtssrustusuxjxfjryuxtt tduue
Answered by
3
Answer:
REM. CLS. INPUT “ENTER ANY NUMBER”; N. ...
DECLARE SUB CHECK (N) INPUT “ENTER ANY NUMBER”; N. CALL CHECK (N)
SUB CHECK (N) IF N MOD 2 = 0 THEN. PRINT N; “IS EVEN NUMBER” ...
DECLARE FUNCTION CHECK$ (N) INPUT “ENTER ANY NUMBER”; N. PRINT N; “IS “; CHECK$(N)
FUNCTION CHECK$ (N) IF N MOD 2 = 0 THEN
Similar questions
Environmental Sciences,
4 days ago
English,
9 days ago
English,
9 days ago
English,
8 months ago
Math,
8 months ago