I really do not know how to modify month. I know that this is extremely basic, but im extremely new to programming. how do I modify the variable so that the loop can exit?
Type: Posts; User: akahizzle
I really do not know how to modify month. I know that this is extremely basic, but im extremely new to programming. how do I modify the variable so that the loop can exit?
ok, so I revised it some, and used a while statement instead of a for.
int getMonth()
{
int month;
cout << "Enter a month number: ";
cin >> month;
while ( month < 1 || month >...
I'm writing a calendar program and I need help with a function called getMonth().
It's supposed to return a single value as the output: the month number that the user entered. It also ensures...
can you walk me through that please?
So I have to write a function to determine the number of days that have passed since 1/1/1753 and whatever target year the user inputs. I've already included the algorithm to determine if a year is a...