Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Requirement 3 When the user selects the Enter User Details option, ask user to enter name, approximate KM, day, month and time of travel using

Requirement 3
When the user selects the Enter User Details option, ask user to enter name, approximate KM, day, month and time of travel using 24 hour clock notation (for example:- 9.00 for 9 oclock in morning, 13.00 for 1 oclock in afternoon, 14.30 for 2:30 in afternoon) or Return to Main Menu.
Note: We will use these to find out if it is falling in weekend category or not and We will use 2021 as a default year.
All numeric values entered must be positive otherwise program should ask user to enter the value again. After taking inputs, program should show the main menu.
image text in transcribed
Requirement 3 When the user selects the Enter User Details option, ask user to enter name, approximate KM, day, month and time of travel using 24 hour clock notation (for example:- 9.00 for 9 o'clock in morning, 13.00 for 1 o'clock in afternoon, 14.30 for 2:30 in afternoon) or Return to Main Menu. Note: We will use these to find out if it is falling in weekend category or not and we will use 2021 as a default year. All numeric values entered must be positive otherwise program should ask user to enter the value again. After taking inputs, program should show the main menu. 1. Enter Usage Details 2. Display charges under company 1 3. Display charges under company 2 4. Display cost under company 3 5. Show Report 6. Exit 1 Enter your name Danielle Enter your approximate kilometers of travel 23 Month of travel 5 On which date of this month, you wish to travel!! Now enter the time of travel using 24 hour clock just like 9.00 for 9am, 13.00 for 1 pm, 14.30 for 2:30pm etc 17.30 15

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Design And Implementation

Authors: Edward Sciore

2nd Edition

3030338355, 978-3030338350

More Books

Students also viewed these Databases questions

Question

Show that there are 3.6 10 6 joules in a kilowatt-hour.

Answered: 1 week ago

Question

4. Describe some cultural differences in the notion of friendship.

Answered: 1 week ago