By: Ryan Hatch
Introduction • Usage • Example • Contributing • License
© 2023 Ryan Hatch
All Rights Reserved.
The Name and Age Calculator is a simple program created to prompt the user for their name and age, and calculates their birth year based on the current year.
To use the program, follow these steps:
- Run the program.
- Enter your name when prompted.
- Confirm whether the entered name is correct (Y for yes, N for no).
- Enter your age when prompted.
- Confirm whether the entered age is correct (Y for yes, N for no).
- The program will calculate your birth year by subtracting your age from the current year.
- The program will display a message with your name and birth year.
- The program will exit.
Here's an example of how the program output might look:
What is your name? John You entered John. Is this correct? (Y, N) Y How old are you? 25 You entered 25. Is this correct? (Y, N)? Y Hello John! You were born in 1998.
Contributions to this project are welcome! If you have any ideas, suggestions, or improvements, please feel free to submit a pull request or open an issue.
This software is the property of the copyright holder and is protected by copyright laws. All rights are reserved.
The copyright holder grants no implied or express license for the use, copying, modification, distribution, or reproduction of this software, in whole or in part, without the prior written permission of the copyright holder.
Any unauthorized use, copying, modification, distribution, or reproduction of this software, in whole or in part, is strictly prohibited and constitutes a violation of copyright law. Such unauthorized use may result in civil and/or criminal penalties, including but not limited to legal action and monetary damages.
To obtain permission for any use, copying, modification, distribution, or reproduction of this software, please contact the copyright holder at the following address:
ryanshatch@gmail.com
By using this software, you acknowledge that you have read and understood the terms of this license and agree to comply with all applicable copyright laws. Failure to abide by the terms of this license may subject you to legal consequences.