write the output 1)CLS REM PRINT YOUR NAME INPUT "NAME PLASE " ;N$ FOR M= 1 TO 9 PRINT N $ NEXT M END
Answers
Answered by
0
Required Answer:-
Corrected C∅de:
CLS
REM PRINT YOUR NAME
INPUT "NAME PLEASE: "; N$
FOR M = 1 TO 9
PRINT N$
NEXT M
END
To Find:
- The output of the given c∅de snippet (Language: QBASIC)
Output:
Assuming that the input is - ABCD, then the output goes like -
NAME PLEASE ? ABCD
ABCD
ABCD
ABCD
ABCD
ABCD
ABCD
ABCD
ABCD
ABCD
Explanation:
- The given program asks the user to enter his/her name. After taking input from the user, the program prints the name of the user 9 times.
- So, if the input is like - "ABCD", then "ABCD" will be printed 9 times.
Similar questions