Solved

Consider the Following Script ÷2)+1)\left. \left. \div 2 \right) + 1 \right)

Question 16

Multiple Choice

Consider the following script. The output will be: #! /bin/bash
guess=2
check=$ $RANDOM ÷2) +1) \left. \left. \div 2 \right) + 1 \right) )
if [ $guess -eq $check]
then
echo "Correct Guess: The number is $check"
else echo "Sorry, wrong guess"


A) Correct Guess: The number is 3
B) Indeterminate
C) Correct Guess: The number is 2
D) Sorry, wrong guess

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions