Integer comparison: Difference between revisions
Content deleted Content added
m Changed over to works with template |
→{{header|Korn Shell}}: Corrected example (the old version had the same semantic, but didn't meet the task's requirements) |
||
Line 265:
if (( a < b )) ; then
printf "%d is less than %d\n" a b
fi
printf "%d is equal to %d\n" a b
if (( a > b )) ; then
printf "%d is greater than %d\n" a b
fi
|