Untitled
unknown
plain_text
10 days ago
313 B
1
Indexable
#!/bin/bash read -p "Enter first number: " a read -p "Enter second number: " b read -p "Enter third number: " c if [ $a -ge $b ] && [ $a -ge $c ]; then echo "Greatest number is: $a" elif [ $b -ge $a ] && [ $b -ge $c ]; then echo "Greatest number is: $b" else echo "Greatest number is: $c" fi
Editor is loading...
Leave a Comment