Bash Scripting - Conditionals
You want a script that prints "Even" if a number is even, and "Odd" if it is odd. Which script correctly uses if-then-else to do this?
num=4 # Choose correct script
num=4 # Choose correct script
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions