danieldotwav / Birthday-Date-Validator

A C++ program that validates and displays a user's birthdate, including checks for invalid days, months, and years.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Birthday-Date-Validator

A C++ program that validates and displays a user's birthdate, including checks for invalid days, months, and years.

Description

This C++ program helps users input their birthdate and ensures its validity. It offers the following features:

  • Input of birth day, month, and year.
  • Validation of the day, considering different month lengths and leap years.
  • Option to run the program multiple times or exit gracefully.

Features

  • User-friendly input and validation for birthdate.
  • Handling of leap years and varying month lengths.
  • Repeated execution of the program based on user choice.

Usage

  1. Enter your birth year (between 1990 and 2023).
  2. Enter your birth month (1-12).
  3. Enter your birth day, considering valid ranges for the selected month.
  4. The program will display your birthdate in the format: Month_name, day, and year (e.g., August 5, 2001).
  5. Choose to run the program again or exit.

About

A C++ program that validates and displays a user's birthdate, including checks for invalid days, months, and years.


Languages

Language:C++ 100.0%