Complete the code to read two words into variables name and age.
read [1] ageThe read command assigns input words to variables in order. Here, name is the first variable to receive input.
Complete the code to read three variables: first, middle, and last.
read first middle [1]The read command assigns input words to variables in order. The third variable here is last.
Fix the error in the code to correctly read two variables.
read first [1]Variable names cannot start with a number. Use second instead of 2nd.
Fill both blanks to read two variables and print them.
read [1] [2] echo "Name: $name, Age: $age"
read that don't match those in echo.The read command reads input into name and age. Then echo prints them.
Fill all three blanks to read three variables and print a greeting.
read [1] [2] [3] echo "Hello, $first $middle $last!"
The read command reads three words into first, middle, and last. The echo prints a greeting using these variables.