Question: Write a bash script to take a year as input from user and check whether the input year is a LEAP YEAR OR NOT .
Write a bash script to take a year as input from user and check whether the input year is a LEAP YEAR OR NOT.
HINT: Any year which is exactly divisible by 4 is a leap year.
Step by Step Solution
3.34 Rating (151 Votes )
There are 3 Steps involved in it
Input binbash echo Enter the year YYYY read yea... View full answer
Get step-by-step solutions from verified subject matter experts
