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.
#!/usr/bin/bashreadXreadY# it is important to set the spaces between the numbers.if[$X-lt$Y];thenecho"$X is less than $Y"elif[$X-gt$Y];thenecho"$X is greater than $Y"elseecho"$X is equal to $Y"fi
Comparing Numbers
You are viewing a single comment's thread. Return to all comments →