Multiple choice

Which of the following statement is used to accept value from the user and store it in a variable?

  1. print

  2. read

  3. echo

  4. Input

  5. Get

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

The read statement is used to get input from keyboard and store it to a variable.