Search found 1 match

by pywong
Mon Jan 27, 2003 6:58 pm
Forum: Volume 6 (600-699)
Topic: 602 - What Day Is It?
Replies: 56
Views: 27134

602

what's wrong there? i can't see the bug :o #include<stdio.h> #include<stdlib.h> int main(void) { int day,month,year,yearsbetween,weekday,daysbetween; int flag=1; while(flag){ scanf("%d %d %d",&month,&day,&year); if(!month && !day && !year) flag=0; else if(year <...

Go to advanced search