Get premium membership and access questions with answers, video lessons as well as revision papers.

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


Next: Give one reason to the growth of communication industry in Kenya.
Previous: Study the polymer below and use it to answer the questions that follow:

View More Computer Studies Questions and Answers | Return to Questions Index


Learn High School English on YouTube

Related Questions