Question: In this assignment, you have to write a bash script that takes an input from a non-negative number from a user. If the user input
In this assignment, you have to write a bash script that takes an input from a non-negative number from a user. If the user input is negative or zero, the program will show an error message: Please provide a positive value. If there is a valid input and the input is a leap year, then the program will print Its a leap year. If there is a valid input and the input isnt a leap year, then the program will print Its not a leap year.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
