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 a multimap c++?

0 Answers  


What is iomanip c++?

0 Answers  


What is the keyword auto for?

0 Answers  


what is the basic concept of c++(object oriented programing)

4 Answers   Wipro,


Explain the static member function.

0 Answers  






Why should you learn c++?

0 Answers  


In inline " expression passed as argument are evalauated once " while in macro "in some cases expression passed as argument are evaluated more than once " --> i am not getting it plz help to make me understand....

0 Answers   College School Exams Tests, CS,


How do I start a c++ project?

0 Answers  


given the code segment below void main() { cout<<"my no. is"; } question is how can we get the output hai aravind my no. is 99999999999 without editig the main().

2 Answers  


What are the two types of comments?

0 Answers  


What is the use of seekg in c++?

0 Answers  


What is a manipulator in c++?

0 Answers  


Categories