bash
This code reads user inputs for name and age, then checks if name is "Steve" and age is 15 using a compound if statement. It demonstrates handling multiple conditions in Bash.
read name read age if [[ "$name" == "Steve" ]] && [[ "$age" -eq 15 ]]; then echo "This will run if $name is Steve AND $age is 15." fi
bash internalflow controltests (conditions)compound condition