Complete the following tasks:Design a method that calculates the monthly

Complete the following tasks:

Design a method that calculates the monthly cost to rent a roadside billboard. Variables include the size of the billboard (S, M, or L, for small, medium, or large) and its location (H, M, or L for high-, medium-, or low-traffic areas). The method should throw an exception if the size or location code is invalid. The monthly rental cost is shown in Table 11-1.

High Traffic

Medium Traffic

Low Traffic

Small size

900.00

500.00

200.00

Medium size

1600.00

1200.00

600.00

Large size

2000.00

1500.00

800.00

            Table 11-1 Monthly billboard rental rates

 

Leave a Comment

Your email address will not be published. Required fields are marked *

GradeEssays.com
We are GradeEssays.com, the best college essay writing service. We offer educational and research assistance to assist our customers in managing their academic work. At GradeEssays.com, we promise quality and 100% original essays written from scratch.
Contact Us

Enjoy 24/7 customer support for any queries or concerns you have.

Phone: +1 213 3772458

Email: support@gradeessays.com

© 2024 - GradeEssays.com. All rights reserved.

WE HAVE A GIFT FOR YOU!

15% OFF 🎁

Get 15% OFF on your order with us

Scroll to Top