Question: Write a C# program for the following. Since the journey of the Earth around the sun completes in 3 6 5 . 2 4 days,
Write a C# program for the following.
Since the journey of the Earth around the sun completes in days, every years we have a special day in February to make up for the missed days the previous years. These years are called leap years. Leap years follow these rules:
If the year number is divisible by then it is a leap year if it is also divisible by
If the year number is not divisible by but divisible by then it is a leap year.
Using the rules above, write a program that asks the user to enter a year as an integer and output whether February that year will have day
Use of BOOLEAN expression.
Example: If you enter year The output should be "Febuary will have days."
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
