You are viewing a single comment's thread. Return to all comments →
read X read Y
if [[ X -gt 100 || Y -gt 100 || $Y -eq 0 ]]; then exit 1 fi
sum=((X-Y)) product=((X/Y))
echo difference echo quotient
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 →
!/bin/bash
read X read Y
if [[ X -gt 100 || Y -gt 100 || $Y -eq 0 ]]; then exit 1 fi
sum=((X-Y)) product=((X/Y))
echo difference echo quotient