Question: I need help on writing out a code for this. * TODO: Test 6 * Given an integer variable year, determine if the year is
I need help on writing out a code for this.

* TODO: Test 6 * Given an integer variable year, determine if the year is * a leap year. If it is, return true, otherwise return false. * * Tips : * - A leap year is a year visible by 4, but not divisible by 100. * However, years divisible by 400 are also consider to be leap years. * * Example input: * 1979 * * Example output: * - false * static bool Test6(int year) return false
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
