How can you come out of the loop in this program?
#!/bin/bash
read x
while [ $x != "hello" ]
do
echo "Try to come out of the loop"
read x
done
echo "Welcome"
exit 0
#!/bin/bash
read x
while [ $x != "hello" ]
do
echo "Try to come out of the loop"
read x
done
echo "Welcome"
exit 0A. by entering "hello"
B. by entering anything except "hello"
C. it is not possible
D. none of the mentioned
Answer: Option A

Join The Discussion