Developed a console-based app that retrieves the current time in the user's location. Once retrieved, users have options to manipulate the displayed time.
- Functions
- If/Else
- Dynamic Programming
- Why did you undertake it?
- void addOneHour(int&, int&, int&)
- This function adds 1 hour to the time.
- int addOneMinute(int&, int&, int&)
- This function adds 1 minute to the time.
- int addOneSecond(int&, int&, int&)
- This function adds one second to the time.
- void display12hours(int&, int&, int&)
- This function displays the time in a 12 hour clock format.
- void display24hours(int&, int&, int&)
- This function displays the time in a 24 hour clock format.
- To run the app, clone this repository.
- Open the terminal in your preferred IDE that has a compiler for C++.
- Run the debugger for the file mainclockcode.cpp and the app should open in the console.
Project is: complete
- This project was based on CS 210 at SNHU.
Created by @makaylacodes - feel free to contact me!