Answers

Question and Answer:

  Home  Linux Bash Arithmetic Expressions

⟩ 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 'globalguideline'" read value for ((i=0;i<$value;i++)) do echo "globalguideline"; done exit 0 a) 'globalguideline' will print 4 times b) 'globalguideline' will print 3 times c) 'globalguideline' will print 5 times d) program will generate an error message

a) 'globalguideline' will print 4 times

 175 views

More Questions for you: