We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
read x
read y
if [ x -le 100 ]
then
if [ y -le 100 ]
then
echo expry
echo expry
echo expry
echo expry
else
echo "error:value of y out of range"
fi
else
echo "error: value of x out of range"
fi
Cookie support is required to access HackerRank
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 →
read x read y if [ x -le 100 ] then if [ y -le 100 ] then echo
expr
y
echoexpr
y
echoexpr
y
echoexpr
y
else echo "error:value of y out of range" fi else echo "error: value of x out of range" fi