Question: ******************C++, Using FUNCTIONS (No classes or inheritance)************** Develop an object-oriented programming (OOP) application to create two clocks that display simultaneously and allow for user input

******************C++, Using FUNCTIONS (No classes or inheritance)**************

Develop an object-oriented programming (OOP) application to create two clocks that display simultaneously and allow for user input using secure and efficient C++ code.

  1. Review the Chada Tech Clocks Functional Requirements, located in the Supporting Materials section.
  2. Review the following flowchart, as it is a graphical representation of the logic you will use in relation to your applications sequence of functions. A text version of this flowchart is available: Project One Flowchart Text Version.

Title: Clocks Flowchart Top of chart begins: Clear Screen

  1. Display time in two formats.

  2. Decision: Button Pressed?

    1. If No to button pressed, then to Add 1 Second. Then Wait 1 second. Then back to Clear Screen.

    2. If Yes to button pressed, then to Display Menu. Then Read user input. Then to Decision: User input = exit?.

      1. If Yes to exit, then endpoint: End program.

      2. If No to exit, then Decision: Add Hour?

        1. If Yes to hour, then Add 1 hour. Then back to Clear screen.

        2. If No to hour, then Decision: Add Minute?.

          1. If Yes to minute, then Add 1 minute. Then back to Clear screen.

          2. If No to minute, then Decision: Add Second?.

            1. If Yes to second, then Add 1 Second. Then back to

              Clear screen.

            2. If No to second, then back to Clear screen.

  1. Your code should be properly modularized and written in functions so that your main() has the least amount of code.
  2. Before you begin coding, remember that you must demonstrate industry standard best practices in all your code to ensure clarity, consistency, and efficiency. This includes:
    1. Inserting in-line comments to denote your changes and to briefly describe the functionality of the code
    2. Using appropriate variable, parameter, and other naming conventions throughout your code
  3. When your solution is finished, zip your project including all components (CPP, H, and any other files used).
  4. Upload your zipped project file to the project submission area.

Clocks should look like this:

******************C++, Using FUNCTIONS (No classes or inheritance)************** Develop an object-oriented programming (OOP)

************************** 12-Hour Clock * ************************** 24-Hour Clock * ** ** 03:22:01 PM ** ************************** 15:22:01 * ************** ********** 4. Your solution should allow the user to exit the program as well as add one hour, minute, or second to both clocks from a user menu as follows: ***** *** ****** * 1- Add One Hour * * 2 - Add One Minute * 3- Add One Second * * 4 - Exit Program **************************

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!