Question: Users are required to enter an integer array of five elements containing value of year. Print out to the screen years that are not
Users are required to enter an integer array of five elements containing value of year. Print out to the screen years that are not leap years. There, a leap year is a year that is divisible by 4 and not by 100; or not divisible by 400. Below is an example of how the program will run: 2010 2012 2016 2021 2022 OUTPUT: 2010 2021 2022 Press any key to continue ..
Step by Step Solution
3.29 Rating (143 Votes )
There are 3 Steps involved in it
Header file include Start execution int main Declare arra... View full answer
Get step-by-step solutions from verified subject matter experts
