Hi...Im trying to make a date reminder type program...But Im looking for something along the lines of If(date == 31102005){*code*....May I please have help with this?? This is what i did...But is totally wrong...I need something that checks the date...where the user does not enter data.
#include <stdio.h>
#include <windows.h>
#include <time.h>
int main(void)
{
int day, month, year;
if (day == 31 & month == 10 & year == 2005)
{
system("Echo Happy Halloween!");
}
return(0);
}