Validating date in c
the number of days per month are prescribed for every month. The only month of interest is February, whose number of days depend upon whether or not it is a leap year. the month must be in 1..12 (or 0..11, as appropriate) 3. @ Zinogg: thanks for catching what I have missed I can't believe that i skipped that part lol but yea it needs to be placed into 3 seperate variables @ duoas: thats a good example keep up the great work and @ OP I can't yet find a solution to this problem because the first program has errors so till i get that fixed we are sol ttul when i get it working on my system.