Computing.Net > Forums > PDAs > shell script

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

shell script

Reply to Message Icon

Name: jajabik
Date: March 10, 2009 at 18:58:07 Pacific
OS: Windows XP
Subcategory: Windows
Comment:

III. Create a Unix shell script that gets the width, height and depth of a box from the user and then display a menu of four choices as showen below:
S for The area of the top and bottom surface of the box
A for The surface area of the box
V for The volume of box
Stop for Exiting the program.
If the user choose any of the first three choices, it will calculate and display the respective value stated in the menu. Use the case statement for this menu choice.
Your script must allow the user to repeat the tasks unless yhe user enters the wod “Stop”. Include a message to inform the user to enter the choices from the menu only if the input is not one of the four choices in the menu



Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More






Use following form to reply to current message:

Login or Register to Reply
LoginRegister


Sponsored links

Ads by Google


Results for: shell script

Script to Dial a RAS server www.computing.net/answers/pda/script-to-dial-a-ras-server/1102.html

Pop-up at start-up Login script pr www.computing.net/answers/pda/popup-at-startup-login-script-pr/742.html

Casio BE300 www.computing.net/answers/pda/casio-be300/1179.html