What is the output of this program?
#!/bin/bash
for i in 2 3 7
do
echo "Example"
done
exit 0
#!/bin/bash
for i in 2 3 7
do
echo "Example"
done
exit 0A. 'Example' will print 3 times
B. Nothing will print
C. Program will generate an error message
D. None of the mentioned
Answer: Option A

Join The Discussion