Question: 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
5
0
call out charge. The first hour spent on the repair is then free and they charge
2
5
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
5
0
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
*
2
5
)
+
5
0

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!