#include
#include
#include
main()
{
/*Program to change System Date*/
struct date d;
printf("Enter the new date ( day, month and year ) as integers ");
scanf("%d%d%d",&d.da_day,&d.da_mon,&d.da_year);
setdate(&d);
printf("Now Current system date is %d/%d/%d\n",d.da_day,d.da_mon,d.da_year);
getch();
return 0;
}
No comments:
Post a Comment