Computer Science, asked by dpkgupta09, 3 months ago

Give the output of the following program:

CLS

FOR X= 2 TO 10 STEP 2

PRINT X

NEXT X​

Answers

Answered by atulbarot4
2

Answer:

QBASIC is a high-level programming language. In the previous class, you wrote simple programs in QBASIC with the help of statements such as PRINT, REM, CLS, LET, INPUT and IF…THEN… ELSE. Let us quickly revise these statements.

The PRINT statement is used to display numbers, messages or values of variables on the output screen.

The REM statement is used to write a remark or a comment in the program that does not get

The CLS statement is used to clear the output screen.

The LET statement is used to assign a value to a variable.

The INPUT statement is used to take a value from the user and store it in a variable.

The IF…THEN…ELSE is a conditional statement that executes a set of statements depending upon a condition

Answered by naitikkumar2244
1

Answer:

hahshhshesushevehzbwuh, bought jduu3huiujj+GB un I lumber sis

Similar questions