Probably a simple question but I am a beginner
I am using the terminal on Mac
I want to add up numbers entered by the user and print the result on screen
#!/bin/sh
echo “please enter the first no”;read a
echo “please enter the second no”; read b
c=$((a+b))
echo “the answer is $c”
It asks for the inputs but returns "?? back instead of adding up the numbers
Thanks