How can a Bash script collect two numbers interactively?
Prompt twice and use read num1 and read num2 to store the replies.
read num1
read num2
Use echo num1 num2, which reads and assigns both replies.
echo num1 num2
Use expr num1 num2 to prompt for both values.
expr num1 num2
Start bc with no expression and expect it to populate shell variables automatically.
bc