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

Can member functions be private?

0 Answers  


what is an array

17 Answers  


i want the NIC programmer-B model papaer pattren, iwant the all model papers?

15 Answers   NIC,


wap to accept 10 numbers & display the number of odd and even numbers??

1 Answers  


How do you establish a has-a relationship?

0 Answers  






What are the rules about using an underscore in a c++ identifier?

0 Answers  


Explain the difference between static and dynamic binding of functions?

0 Answers  


What does the linker do?

0 Answers  


Why is polymorphism useful?

0 Answers  


What is setf in c++?

0 Answers  


What is the difference between C and CPP?

0 Answers   iNautix,


What is c++ programming language?

0 Answers  


Categories