You are viewing a single comment's thread. Return to all comments →
read x read y if (($x<-100)) && (($x>100)) || (($y<-100)) && (($y>100)) then echo "over range" exit 1 else #Sum echo $(($x+$y)) #difference echo $(($x-$y)) #product echo $(($x*$y)) #quotient echo $(($x/$y)) fi
Seems like cookies are disabled on this browser, please enable them to open this website
The World of Numbers
You are viewing a single comment's thread. Return to all comments →