leap year code with for loop
can someone help me Write a program that prints the next 20 leap years. ( You must use a for loop in your code )
Last edited on
1 2 3 4 5 6
|
#include <iostream>
int main()
{
for (int i=0; i<1; ++i) { std::cout << "the next 20 leap years.\n"; }
}
|
If you put zero effort into solving the simplest of problems why should anyone else put in more effort than you?
Last edited on
Topic archived. No new replies allowed.