Question: Create a C - Shell script program that will demonstrate the use of using sequential, conditional, and iteration to control the application process control. In
Create a CShell script program that will demonstrate the use of using sequential, conditional, and iteration to control the application process control. In your script program, please do the following:
Put #bincsh in the first line interpreter line of the program
Declare an integer variable to hold user input.
To begin sequentially, output to the screen prompting the user to enter a number.
Accept the user input, and assign it to the integer variable that you declared.
Create an if condition statement checking the number that was input to see if it is less than
If the number is less than output to the screen that the number is less than
If the number is equal to output to the screen that the number is equal to
If the number is greater than output to the screen that the number is greater than
Create a while loop to reduce the variable value that the user input to and in each iteration output to the screen the value of the variable. Be creative and output anything else that you would like here. Once the while loop is complete and prior to the end of your program, output to the screen that the script has ended and goodbye.
Exit the script.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
