Skip to content

saif86/Date---CPP-Class

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Date---CPP-Class

Date case study using static data members

Problem Statement

Design a class date through which user must be able to perform following operations:

  • Get and set current day, month and year
  • Get today's date
  • Get age (in years)
  • Increment by x number of days, months and year
  • Set default date