Simplified code

This is a discussion on Simplified code within the C Programming forums, part of the General Programming Boards category; Hello;
I have this code that will give me the next day based upon what the user has entered for ...

Simplified code

Hello;

I have this code that will give me the next day based upon what the user has entered for day, month and year, and checks for leap year. As you can see, the code is quite lenghty. I was wondering if you could suggest a way to simplify or shorten it. The code is below. Thank you.