There is company "Blagoevgrad Murals" that paints interior and exterior murals for both business and residential customers. Write a program that:

1. Displays the company motto, which is "Make your vision your view."

2. Prompts a user for the number of interior and exterior murals scheduled to be painted during the next month. Compute the expected revenue for each type of mural. Interior murals cost $500 each, and exterior murals cost $750 each. Also display the total expected revenue and a statement that indicates whether more interior murals are scheduled than exterior ones.

3. Accept a numeric value for the month being scheduled and to modify the pricing as follows:

  • Because of uncertain weather conditions, exterior murals cannot be painted in December through February, so change the number of exterior murals to 0 for those months.
  • Blagoevgrad Murals prefers to paint exterior murals in April, May, September, and October. To encourage business, he charges only $699 for an exterior mural during those months. Murals in other months continue to cost $750.
  • Blagoevgrad Murals l prefers to paint interior murals in July and August, so he charges only $450 for an interior mural during those months. Murals in other months continue to cost $500.

4. The user must enter a month value from 1 through 12. If the user enters an incorrect number, the program prompts for a valid value. Also, the user must enter a number between 0 and 30 inclusive for the number of murals of each type; otherwise, the program prompts the user again.

5. After mural data entry is complete, the user is prompted for the appropriate number of customer names for both the interior and exterior murals and a code for each that indicates the mural style:

L for landscape,
S for seascape,
A for abstract,
C for children’s, or
O for other.

When a code is invalid, reprompt the user for a valid code continuously. After data entry is complete, display a count of each type of mural. Then, continuously prompt the user for a mural style code until the user enters a sentinel value. With each code entry, display a list of all the customers with that code and whether their mural is interior or exterior. If the requested code is invalid, display an appropriate message and reprompt the user.

6. The major functions appear in the following individual methods:

  • A method that prompts for and returns the month
  • A method that prompts for and returns the number of murals scheduled and is called twiceonce for interior murals and once for exterior murals
  • A method that accepts the number of interior and exterior murals scheduled, accepts the month they are scheduled, displays the interior and exterior prices, and then returns the total expected revenue
  • A method that fills an array with customer names and mural codes and is called twiceonce to fill the array of interior murals and once to fill the array of exterior murals
  • A method that continuously prompts for mural codes and displays jobs of the corresponding type until a sentinel value is entered.
Academic Honesty!
It is not our intention to break the school's academic policy. Posted solutions are meant to be used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly complete the form. Please provide a valid email address and we will get back to you within 24 hours. Payment is through PayPal, Buy me a Coffee or Cryptocurrency. We are a nonprofit organization however we need funds to keep this organization operating and to be able to complete our research and development projects.