Reference no: EM133508585
Introduction to Programming
Problem Specification:
Alpha's Murals is a company that paints interior and exterior murals for both business and residential customers. Write a program named AlphaApp that performs the following tasks:
Task 1: Display your personal information including your last name, first name and your student ID. Make these surrounded by a border composed of asterisks.
Task 2: The application prompts the user to enter the number of orders for interior and exterior murals. This number has to be between 0 and 30 (inclusive).Otherwise, the program prompts the user to re-enter the number.
Task 3: Display the number of orders of interior and exterior murals. Compute and display the expected revenue for each type of mural and the total revenue from both types. Interior murals cost $500.00 each, and exterior murals cost $750.00 each.
Note that all revenues should be displayed using currency format.
Task 4: Display a statement based on the following conditions:
- If the number of exterior muralsordered is greater than the number of interior murals,the program should display "Exterior murals are becoming more attractive!", else, the program displays "Interior murals are becoming popular!".
- If the number of the orders are equal, then display "Both types are equally preferred!"
Task 5: The user is prompted to input information for interior mural orders. Each interior mural order includes customer name and mural code: L for landscape, S for seascape, A for abstract, and O for others. Make sure that all the entered codes are valid (L, S, A or O), and, if not, prompt the user to re-enter the correct code. The number of orders should be the same as the number of interior murals ordered in Task 2.
After the data entry for all the customers is complete, display a count of the number of customers ordering each type of interior mural.
Then, continuously prompt the user for a mural code until the user enters a sentinel value. For each code entry, display a list of the customersorderingthattype of mural, or display a message that the code is not valid, and re-prompt the user for a valid mural code.