Question: Have to write three programs using a bash shell script for Unix using putty. three REQUIREMENTS for three Write a bash shellscript to do the
Have to write three programs using a bash shell script for Unix using putty.



three REQUIREMENTS for "three" Write a bash shellscript to do the following: Be sure to start with a " and comment linefs) fo state the purpose of your script and identity the author) shebang" to identity the shelf language Ask for the name of the user. Request three different numbers. Ifa duplicate number is entered, reject it and ask again. Include the user's name in all error messages. Compute and display the sum of the three numbers. Display all three numbers in order, from smallest to largest. Determine whether or not these three lengths can form a triangle. (In a triangle, each side must be less than the sum of the other two sides.) Determine whether or not these three lengths can form a RIGHTtriangle. The three sides of a right triangle must be a Pythagoran triple: The square of largest number must be equal to the sum of the squares of the other two!)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
