Hi, Im a student and new to c++. Im using code::blocks and i can seem to get the output right. we where given a program that validates a date including the leap year and use a function Valid_Date() that takes 3 arguments (month, day, year). The year must not be less than 1900 nor greater than 2100 and includes. If date is correct is will output VALID! else NOT VALID! i need help.
Here's the code. Is it possible using only if statement?