Computer Science, asked by rohharajput, 6 months ago

“South West Car Wash Company” is deciding to automate its services billing system. Currently
the company is providing services of
Exterior Wash
Rinse
Triple Poly Shine Wax
Underbody Spray
Car Dry (Hand Dry and Interior vacuum)
Window cleaning
Mats and upholstery cleaning.
Triple Poly Shine Wax contains mixture of three waxes; Gold class Liquied Wax, Ultrashine Wax
and Sentitized Wax , with the cost of 20$, 15$, 18$ respectively. Client can demand the combination
of all three waxes or he can combine any two.
Underbody Spray costs $15, Window cleaning $10, Mats and upholstery cleaning $14.
For Car Dry service, Hand dry has $12 OR client can get drying service of Interior Vaccume at $13
(Any one at a time)
If a client wants and Exterior Wash then extra cost of soap $2 needs to be added for each exterior
wash, otherwise client can simple avail the Rinse service having cost $5.
You have to provide a software solution in which total costs of availed services can be calculated.
a. Apply “Bridge Pattern” on above scenario. Draw its structure.
b. Give Jave code (Hand written) of your designed structure

Answers

Answered by yuvrajsinghjsr1233
0

Explanation:

South West Car Wash Company” is deciding to automate its services billing system. Currently

the company is providing services of

Exterior Wash

Rinse

Triple Poly Shine Wax

Underbody Spray

Car Dry (Hand Dry and Interior vacuum)

Window cleaning

Mats and upholstery cleaning.

Triple Poly Shine Wax contains mixture of three waxes; Gold class Liquied Wax, Ultrashine Wax

and Sentitized Wax , with the cost of 20$, 15$, 18$ respectively. Client can demand the combination

of all three waxes or he can combine any two.

Underbody Spray costs $15, Window cleaning $10, Mats and upholstery cleaning $14.

For Car Dry service, Hand dry has $12 OR client can get drying service of Interior Vaccume at $13

(Any one at a time)

If a client wants and Exterior Wash then extra cost of soap $2 needs to be added for each exterior

wash, otherwise client can simple avail the Rinse service having cost $5.

You have to provide a software solution in which total costs of availed services can be calculated.

a. Apply “Bridge Pattern” on above scenario. Draw its structure.

b. Give Jave code (Hand written) of your designed structure

Mark as brainlist answer

Similar questions