A.3 Car rental 3
This program is for a car rental agency. Your program will have to compute the
total cost of a rental. This agency has two types of cars, and the rates per day
are as follows: All cars come with a basic insurance that covers damage to third
Driver above 25
years of age
Driver 25 years
old or younger.
Compact car $60 $80
Mid-size car $75 $100
Table 4: Price list for problem A.3
parties. Comprehensive insurance cover costs $30 for compact cars and $40 for
mid-size cars.
15

A - We don't do your work for you. You write code, tell us what problems you have, we'll help you work it out.

B - You also need to give a problem statement that is comprehensible.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.