You are viewing a single comment's thread. Return to all comments →
read X read Y if [ $X -gt $Y ]; then echo "X is greater than Y" elif [ $X -lt $Y ]; then echo "X is less than Y" else echo "X is equal to Y" fi
Seems like cookies are disabled on this browser, please enable them to open this website
I agree to HackerRank's Terms of Service and Privacy Policy.
Comparing Numbers
You are viewing a single comment's thread. Return to all comments →