Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

6. (12 points =3+3+3+3) Here is an exercise resembling thoso from your lab. Answer the following questions about it: #!/bin/shdeclareixbasxxsontoptop0xbas51xson-52x=5xbaswhileI5x-leSxsonIdotop=5top+$x+5xx=5x+1doneechotoplam=Stop a. How many command line

image text in transcribed
6. (12 points =3+3+3+3) Here is an exercise resembling thoso from your lab. Answer the following questions about it: #!/bin/shdeclareixbasxxsontoptop0xbas51xson-52x=5xbaswhileI5x-leSxsonIdotop=5top+$x+5xx=5x+1doneecho"toplam="Stop a. How many command line argumeats do you need and what are they? b. What does the program do? c. It would be logically preferable to enclose the while loop into another loop that checks that xson is greater than or equal to xbas. What loop should it be? d. Modify the program so that the checking in part d is incorporated. Write the statements in proper position in the code

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Programming With Visual Basic .NET

Authors: Carsten Thomsen

2nd Edition

1590590325, 978-1590590324

More Books

Students also viewed these Databases questions

Question

mple 10. Determine d dx S 0 t dt.

Answered: 1 week ago