Question: I need help with computer science 3.3 Lab 3b Due Sep-26 12 pts Introduction This lab consists of more practice with flow control. You can
I need help with computer science

3.3 Lab 3b Due Sep-26 12 pts Introduction This lab consists of more practice with flow control. You can either use if or switch statements, either would be appropriate Let's Sell Some Apartments ApartmentSales java You've been hired to automate the Summerdale Sales Office's apartment price estimation system. t will need to: Ask the user to choose: - 1 for park view - 2 for golf course view - 3 for lake view Park view apartments are $150k, apartments with gold course views are $170k, and apartments with the lake views are $210k. If the user enters an invalid code, set the price to 0 t should also ask the user to specify if they want a: - 1 garage - 2 parking space but only if the view selection is valid Add $5k to the price of any apartment with a garage. If the parking vaule is invalid, display an appropriate massage and assume that the price for a apartment with no garage Sample expected output for a park view with a parking space: Please select a view: (1) Park (2) Golf Course (3) Lake Please select a parking option: (1) Garage (2) Space Your choice: Park view with a parking space Estimated price: $150000
Step by Step Solution
There are 3 Steps involved in it
To solve this problem you can write a Java program using either if or switch statements to handle the users input and calculate the price of the apart... View full answer
Get step-by-step solutions from verified subject matter experts
