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.
Answer Posted / 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 View All Answers
Is c++ a programming language?
How do you compile the source code with your compiler?
What is command line arguments in C++? What are its uses? Where we have to use this?
Explain differences between alloc() and free()?
When the constructor of a base class calls a virtual function, why doesn't the override function of the derived class gets called?
Explain the difference between c & c++?
total amount of milk produced each morning and then calculates and outputs the number of cartons needed for this milk , the cost of producing the milk and the profit from producing this milk.
What are the types of pointer?
What is the benefit of c++?
What are c++ manipulators?
Explain the problem with overriding functions
What are vtable and vptr?
What are the storage qualifiers?
write a corrected statement in c++ so that the statement will work properly. x = y = z + 3a;
What are multiple inheritances (virtual inheritance)?