View Single Post
  #8 (permalink)  
Old May 22nd, 2005, 01:43 AM
Alan-LB Alan-LB is offline
Authorized User
 
Join Date: Mar 2005
Posts: 58
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to Alan-LB Send a message via Yahoo to Alan-LB
Default

Rashmid,

Please take the time to read the code that I have posted - if you read it you will see that I do check the values for the month and day.

The code I posted was not intended to be a complete working program but as I said in my post "part of program only". I was giving an example of a basic "if/else problem" which the OP, who describes himself as a "novice to C++", had originally requested.

There is often little benefit in posting complete working programs in answer to simple basic questions.

Alan


Reply With Quote