Read is used to take input from user. -p
flag is used to show a prompt. The value of the input is saved in the variable mentioned after the command.
Store the inputs in an array
Using echo to print string an take input on same line
Another approach to taking user input
If after the read command an variable name is not specified then the value by default is stored in the $REPLY
variable