Question: Write a program that takes in a year and determines whether that year is a leap year. Ex: If the input is: 1712 the
Write a program that takes in a year and determines whether that year is a leap year. Ex: If the input is: 1712 the output is: 1712 leap year Ex: If the input is: 1913 the output is: 1913 not a leap year 494090.2694856.qx3zqy7 LAB ACTIVITY 1 #include 2 using namespace std; 3 4 int main() { 5 6 7 2.12.1: LAB: Leap year 8 9 10 11 12 13 } int inputYear; bool isLeapYear = false; cin >> inputYear; /* Type your code here. */ return 0; main.cpp 0/10 Load default template...
Step by Step Solution
There are 3 Steps involved in it
Heres a complete C program that takes a year as input and determines whether it is ... View full answer
Get step-by-step solutions from verified subject matter experts
