Write a method that calls the method designed in if the


Problem

Complete the following tasks:

a. Design a method that calculates the cost of a painting job for College Student Painters. Variables include whether the job is location "I" for interior, which costs $100, or "E" for exterior, which costs $200. The method should throw an exception if the location code is invalid.

b. Write a method that calls the method designed in. If the method throws an exception, force the price of the job to 0.

c. Write a method that calls the method designed in. If the method throws an exception, require the user to reenter the location code.

d. Write a method that calls the method designed in. If the method throws an exception, force the location code to "E" and the price to $200.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Write a method that calls the method designed in if the
Reference No:- TGS02648771

Expected delivery within 24 Hours