Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Program specification: A firm that specialises in plumbing repairs has a 5 0 call out charge. The first hour spent on the repair is then

Program specification: A firm that specialises in plumbing repairs has a 50 call out charge. The first hour spent on the repair is then free and they charge 25 per hour or part of an hour thereafter. A program is required that will let the plumber indicate they have started the repair and indicate when they have finished. The program should then output the amount to be charged.
Questions:
a. Time repair started is a data input required from the user. Select, from the drop down list, the other data input the user should be asked to provide.
b. The 50 call out charge is fixed data implied by the program specification. Select, from the drop down list, the other item of fixed data implied by the program specification.
c. Select, from the drop down list, the output that is required.
d. The following is part of an algorithm for this problem. Select the appropriate option from the drop down box to complete this part.
Set duration to time finished - time started
Set (rounded up duration) to duration rounded up to whole hours.
Set time charged to (rounded up duration)-1
Set amount charged to*25)+50
image text in transcribed

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

More Books

Students also viewed these Databases questions

Question

How Covid-19 has changed to sales industry/personal selling

Answered: 1 week ago

Question

Persuading Your Audience Strategies for

Answered: 1 week ago