What is the error in the following pseudocode?
```
Display "What is your name?"
Input userName
Declare String userName
```
a. userName is an invalid variable name.
b. The Input statement should be the first statement.
c. userName has been used before it is declared.
d. There is no error.
c. userName has been used before it is declared.
Computer Science & Information Technology
You might also like to view...
Match the following units with the number of bytes
I. Petabyte II. Zettabyte III. Exabyte IV. Gigabyte V. Yottabyte A. 1,000 PB B. 1,000 ZB C. 1 billion D. 1,000 EB E. 1,000 TB
Computer Science & Information Technology
The ____ of a variable specifies where a variable can be referenced within a program.
A. range B. lifetime C. scope D. scale
Computer Science & Information Technology