Question: C++ Only! 2. Define a function that can be used to find if a particular year is leap year or not. In order t check
C++ Only! 2. Define a function that can be used to find if a particular year is leap year or not. In order t check if a year is leap year or not, follow the steps given below: Check if year is divisible by 4, if so, Then check if year is not divisible by 100 or year is divisible by 400 then return true else return false Else Return false . Call this function from main by sending an input for year
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
