Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Create a BASH script that gets the user's name and two numbers ( e . g . , NUMBER 1 and NUMBER 2 ) .
Create a BASH script that gets the user's name and two numbers eg NUMBER and NUMBER
After getting the user input, check the following:
NUMBER is greater than NUMBER: subtract NUMBER from NUMBER
NUMBER is greater than NUMBER: subtract NUMBER from NUMBER
NUMBERs are equal: end the program and inform the user
Once correct input has been received, output the following:
Output the user name, the date, and a calendar with the appropriate context.
Output a repeating statement with the incrementing result from the calculation.
Extra Credit
Check if the user input for both numbers are integers. Output an error message and end the program if they are not.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started