ExamVeda
Login
Home
This question belongs to Computer Science Linux
Linux
?

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

Answer & Solution
Correct Answer: Option A
Let's discuss the solution. Join the discussion
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.