so would it look like this? i have yet to do the days in months. and how would i incorporate the bool variable into the program?
[CODE=cpp]#include <iostream>
using namespace std;
int getdate (int& day, int& month, int& year);
int currentdate (int&day, int& month, int& year);
int getnumberofdays inmonth (int& month, int& year);
bool isleapyear (int year);...
User Profile
Collapse
-
-
How to find how many days to someones bithday
I am brand new to programing and am trying to write a C++ program that calculates how many days are left to a persons birthday. I need to make a function for the leap years, and to get number of days in a month, i have no idea how to do this. any help would be great..
i am using windows op, with visual studios 2005
this is what i have so far.
[CODE=cpp]#include <iostream>
using namespace std;
...
No activity results to display
Show More
Leave a comment: