You are viewing a single comment's thread. Return to all comments →
Just for fun
#!/bin/bash declare -i X; declare -i Y; read X; read Y; echo "X is $( ([ $X -gt $Y ] && echo greater than) || ([ $X -lt $Y ] && echo less than) || ([ $X -eq $Y ] && echo equal to) ) Y"
Seems like cookies are disabled on this browser, please enable them to open this website
Comparing Numbers
You are viewing a single comment's thread. Return to all comments →
Just for fun