Solved

Consider the Following Script ÷2)+1)\div 2 ) + 1 ) )
If [ $Guess -Eq $Check]
Then
Echo "Correct Guess

Question 2

Multiple Choice

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


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

Correct Answer:

verifed

Verified

Related Questions