asked 142k views
2 votes
Chada Tech Clocks Functional Requirements Problem Statement Chada Tech has domestic and international clients. To meet international standard 1508601 , Chada Tech wants their clients to be able to view a 12- and a 24-hour clock on their website rather than just the standard 12-hour clock. Functional Requirements 1. Clock12: Time should be displayed in 12-hour format where the clock does not exceed 12:59:59. 2. Clock24: Time should be displayed in 24-hour format where the clock does not exceed 23:59:59. 3. Both clocks should display on the screen with the current time in the proper format. For example: 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

5. Once a selection is made from the user menu, the program should take action based on that choice. Both clocks must display on the screen simultaneously in the proper format next to each other. Below is a sample of the expected output if the user selects option 3 from the menu:

1 Answer

5 votes

The functional requirements for Chada Tech's clocks system are as follows:

Clock12: Display time in a 12-hour format, not exceeding 12:59:59.

Clock24: Display time in a 24-hour format, not exceeding 23:59:59.

Both clocks should be visible on the screen, presenting the current time in the respective formats.

Users should have the option to exit the program or increment the time by one hour, one minute, or one second for both clocks using a menu:

Menu:

1 - Add One Hour

2 - Add One Minute

3 - Add One Second

4 - Exit Program

The system must adhere to international standard 1508601 and accommodate both domestic and international clients, offering a 12-hour and 24-hour clock display simultaneously.

Users can interact with the clocks by increasing time increments or exiting the program using the provided menu options.

answered
User Brijesh Masrani
by
8.1k points