Computer Science, asked by kumaramanraj811, 11 hours ago

Write purpose of following QBasic statements. (a) CLS (b) PRINT (C) INPUT​

Answers

Answered by chandru7p
1

Answer:

cls is used in qb64

Explanation:

and input

Answered by ot7xbangtonboyz
5

It is used to assign the value to a variable. The remarks may be useful in a program to explain about different kinds of statements and user defined words. PRINT statement provides output on the screen. The CLS statement clears the screen.

 \sf \red {\underline{ CLS:  - }}

CLS command will Clear the Screen for you before doing the next operation. For example type the following in and press F5.

 \sf \green{ \underline{INPUT}}

INPUT statement is used to make the program user-friendly. With the use of INPUT statement, the user can enter any data to a variable at the time of execution.

 \sf \orange { \underline{PRINT}}

PRINT is a QBasic function that requires arguments. The argument in the "Hello, World!" program we just ran were the words "Hello, World!". So, PRINT is the function and "Hello, world

 \rule{1222pt}{3.0pt}

Similar questions