?
After running this program, as your press 4, what will be the output of the program?
After running this program, as your press 4, what will be the output of the program?
#!/bin/bash
echo "How many times you want to print 'Example'"
read value
for ((i=0;i<$value;i++))
do
echo "Example";
done
exit 0
#!/bin/bash
echo "How many times you want to print 'Example'"
read value
for ((i=0;i<$value;i++))
do
echo "Example";
done
exit 0
Join the Discussion
Login to post a comment or share your explanation.
Login