Computer Science, asked by faizanjaveed898, 9 days ago

Write a program in QBasic to check whether a number is even or odd.​

Answers

Answered by himanshikhatak
0

Answer:

fyititykrtyaeusttjtssrustusuxjxfjryuxtt tduue

Answered by Shreyap18323
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