silentAssassin
Programmer
Ok, I am currently in a beginners C++ Class. I need help writing the following practice problem:
Write a loop that calls a funciton to generate a year between 1895 and 2010. Test the year for being a leap year and print an appropriate statement to the screen. The loop should run at least five times.
I do not even know where to start. Don't worry, this problem is for practice only. I would just like to see the script so I can know what I am doing when we do some other problem for a grade.
Write a loop that calls a funciton to generate a year between 1895 and 2010. Test the year for being a leap year and print an appropriate statement to the screen. The loop should run at least five times.
I do not even know where to start. Don't worry, this problem is for practice only. I would just like to see the script so I can know what I am doing when we do some other problem for a grade.