Computer Science, asked by reenakumaririya, 6 months ago

(a) Describe about any five Qbasic commands.

(b) Write a Qbasic program to accept and age and find whether the person is eligible for driving licence or not and print an appropriate message.

Answers

Answered by chhaviramsharma9564
2

Explanation:

(a) Any command or the instructions in the QBASIC is called a statement. Statements are classified into executable and non-executable. Executable statement specify actions and non-executable statements specify characteristics, arrangements and initial values of data. Some of the QBASIC statements are: CLS.

(b) PRINT statement provides output on the screen. It prints the values of the expression on the screen. If the expression list is blank, no characters are printed. The expressions in the list may be numeric or string.

Similar questions