Design a program to input a date from user in the form
day/month/year (e.g. 2/6/2000) and report whether it’s a
valid date or not. The program should take account of leap
years. You will need to know that a leap year is a year that
is exactly divisible by 4, except that century years are
only leap years if they are divisible by 400.



Design a program to input a date from user in the form day/month/year (e.g. 2/6/2000) and report wh..

Answer / jkl

Design pattern is a general repeatable solution to a
commonly occurring problem . A design pattern is not a
finished design that can be transformed directly into code.
It is a description or template for how to solve a problem
that can be used in many different situations.
Object-oriented design patterns typically show
relationships and interactions between classes or objects,
without specifying the final application classes or objects
that are involved.

Design patterns deal specifically with problems at the
level of software design.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ General Interview Questions

What is an action class?

1 Answers  


What is a stack? How it can be implemented?

0 Answers  


Write a program that will count the number of digits in an input integer up to value MAX_VALUE (2147483647). Thus, for an input of 5837 the output should be 4 digits Make sure that your program works for the numbers 0, 1, and 10. For the number 0, the output should be 1 digit

2 Answers  


What are the 2 main types of data structures?

0 Answers  


What is late binding c++?

0 Answers  


Do we have private destructors?

12 Answers   Symphony, TCS,


What is class and structure in c++?

0 Answers  


What are the different types of Storage classes?

5 Answers  


Are php strings immutable?

0 Answers  


How to change constant values?

6 Answers   Huawei, Symphony,


How did c++ get its name?

0 Answers  


Do vectors start at 0 c++?

0 Answers  


Categories