Menu
support@nursinghomework.org
+1 714-215-3097

(Solved) : Want Question 3 Solved Added Question 2 Picture Reference Thanks Q35534891

I want question 3 solved. I have added question 2 in thepicture just for a reference.thanks.
2. (15 pts) Write a bash script A5p2.sh to print out 15 equations on 15 lines, one per line. Each of these equations should b2. (15 pts) Write a bash script A5p2.sh to print out 15 equations on 15 lines, one per line. Each of these equations should be of the form i j-k, where i is an integer that runs from 1 through 3, j runs from 1 through 5 and k is the product of i and j. (For example, if i is number of possible combinations of i and j is 3*5-15. Your script should use loop to achieve the functionality. Do not define or use any functions in this script. (15 pts) Write a bash script A5p3.sh to redo problem 2. This time you need to define a 2 and j is 3, k should be 6.) You will print 15 different equations because the 3. function that takes two integer parameters a and b and prints out an equation of the form a*b c, where c is the product of the two parameters a and b. The main part of your script should use loop and call the function you defined. That is, you should call the function 15 times to display the 15 equations Show transcribed image text 2. (15 pts) Write a bash script A5p2.sh to print out 15 equations on 15 lines, one per line. Each of these equations should be of the form i j-k, where i is an integer that runs from 1 through 3, j runs from 1 through 5 and k is the product of i and j. (For example, if i is number of possible combinations of i and j is 3*5-15. Your script should use loop to achieve the functionality. Do not define or use any functions in this script. (15 pts) Write a bash script A5p3.sh to redo problem 2. This time you need to define a 2 and j is 3, k should be 6.) You will print 15 different equations because the 3. function that takes two integer parameters a and b and prints out an equation of the form a*b c, where c is the product of the two parameters a and b. The main part of your script should use loop and call the function you defined. That is, you should call the function 15 times to display the 15 equations

Leave a Reply

Your email address will not be published. Required fields are marked *