Trusted by millions of Kenyans
Study resources on Kenyaplex

Get ready-made curriculum aligned revision materials

Exam papers, notes, holiday assignments and topical questions – all aligned to the Kenyan curriculum.

A car rental firm leases its cars for Kshs. 2500.00 per day. The manager gives a discount based on the number of days that the...

A car rental firm leases its cars for Kshs. 2500.00 per day. The manager gives a discount based on the number of days that the car is rented. If the rental period is greater than or equals to 7 days then a 25% discount is given. Write a pseudo-code to accept a car number and the rental period, and calculate the total amount earned by the company when a car is leased.

Answers


Kavungya
START
PRINT ENTER CAR NUMBER
PRINT ENTER NUMBER OF DAYS
IF NUMBER OF DAYS>=7 THEN
(NUMBER OF DAYS X 2500) – (NUMBER OF DAYS X 2500) 25%
ELSE
NUMBER OF DAYS X 2500
END IF

Kavungya answered the question on November 6, 2019 at 05:45

Answer Attachments

Exams With Marking Schemes

Related Questions