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
If a base class is an adt, and it has three pure virtual functions, how many of these functions must be overridden in its derived classes?
What is the difference between the indirection operator and the address of oper-ator?
Comment on assignment operator in c++.
What is difference between class and structure in c++?
What are special characters c++?
Which is better c++ or java?
Tell me can a pure virtual function have an implementation?
What is polymorphism and its type in c++?
what is the difference between linear list linked representaion and linked representation? what is the purpose of representing the linear list in linked represention ? is it not avoiding rules of linear represention?
Assume studentNames and studentIDs are two parallel arrays of size N that hold student data. Write a pseudocode algorithm that sorts studentIDs array in ascending ID number order such that the two arrays remain parallel.
Is it possible for a member function to use delete this?
Difference between pointer to constant vs. Pointer constant
How is computer programming useful in real life?
What are dynamic type checking?
can any one help to find a specific string between html tags
which is changed to a sting..
weather.html looks (for location) is