Write an application for the summerdale condo sales

Assignment Help Basic Computer Science
Reference no: EM13900269

Write an application for the Summerdale Condo Sales office; the program determines the price of a condominium. Ask the user to choose 1 for park view, 2 for golf course view, or 3 for lake view. The output is the name of the chosen view as well as the price of the condo. Park view condos are $150,000, condos with golf course views are $170,000, and condos with lake views are $210,000. If the user enters an invalid code, set the price to 0. Save the file as CondoSales.java.
Adda prompt to the CondoSales application to ask the user to specify a

  1. garage or a
  2. parking space, but only if the condo view selection is valid.

Add $5,000 to the price of any condo with a garage. If the parking value is invalid, display an appropriate message and assume that the price is for a condo with no garage. Save the file as CondoSales2.java.

import java.util.Scanner;

public class CondoSales

{

public static void main(String args [])

{
Scanner scan = new Scanner(System.in);
System.out.println("Press 1 for Parkview, 2 for Golf Course View, or 3 for Lake View");
int choice = scan.nextInt();
if(choice == 1)
System.out.println("Park View: $150,000");

else if(choice == 2)
System.out.println("Golf Course View: $170,000");
else if(choice == 3)
System.out.println("Lake View: $210,000");
else
System.out.println("Invalid Code: $0");
}
}

Reference no: EM13900269

Questions Cloud

Explain a file management system : Explain a file management system, and list and describe five file organizations.
What kind of crimes are women incarcerated for? : What kind of crimes are women incarcerated for?
How would you respond to gwens last comment : Why is Ashley concerned about the inventory and accounts receivable turnover ratios and Gwen's responses to them? What action may Ashley need to take? How would you respond to Gwen's last comment?
Publication at a professional website by substantially : publication at a professional website by substantially revising
Write an application for the summerdale condo sales : Write an application for the Summerdale Condo Sales office; the program determines the price of a condominium. Ask the user to choose 1 for park view, 2 for golf course view, or 3 for lake view. The output is the name of the chosen view as well as th..
Summary of the human resurce article into one paper : Find any Human Resurce Articles and summary the article into one paper. be carful about the plagiarism. HR Recruitment- http://catalog.flatworldknowledge.com/bookhub/reader/28091?e=portolesedias_1.0-ch04
Powerpoint slides for jive software optional : Powerpoint slides for Jive software. optional (handouts and sources)
What will be the optimal portfolia for agents : How would you model explicitly these two factors' impact on equities A and B? What assumptions will be required to assure general applicability of the standard APT framework to this model?
Identify characteristic of companies with accounts turnover : Categorize each of the preceding companies as to whether its turnover ratio is above or below 15. Based upon (2), identify a characteristic of companies with accounts receivable turnover ratios above 15.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Create a test class that tests your survey class

Create a test class that tests your survey class. This should test all of the members added to this point in any way that you desire, as long as it is proven that they function as required.

  Elliot bay maintains a roster of personal trainers

Elliot Bay maintains a roster of personal trainers who operate as independent consultants. Approved trainers can schedule appointments with clients at Elliot Bay facilities, as long as their client is a member of the club. Trainers also teach yoga..

  Transmitting station montiors bus during transmission

If each transmitting station montiors bus during transmission, how long before it notices the interference in seconds? In bit times?

  One from manufacturing

One from manufacturing and the other from a service industry

  Secure encrypted communications

Transmitting personal and business data and information over secure communication channels is critical. In some cases it is required, especially when personally identifiable information is being transmitted. Credit card numbers, Social Security Numbe..

  Define a 1-d array named people types

Define a 1-D array named people Types that can store a maximum of 50 integer values that will be entered at the keyboard.

  How many bit comparisons are made

How many bit comparisons (both successful and unsuccessful) are made by the brute-force string-matching algorithm in searching for the pattern 11001 in a binary text of 500 ones?

  Find a current news article in the ashford university

Find a current news article in the Ashford University Library's ProQuest Newsstand database about an ethical issue that involves computer technology, or involves a technology company Summarize the facts and major points from the article and be sure t..

  Why are organizations important to continual learning

Why are professional organizations important to continual learning? What professional organizations benefit both the employee and the employer.

  There are four conditions that are necessary

There are four conditions that are necessary for a deadlock to occur. Give an example to show that these conditions are not sufficient for a resource deadlock to occur. When are these conditions sufficient for a resource deadlock to occur? Explain..

  Electronic health record

Write a paper on Electronic Health Record (EHR) Research and Summary.

  Implementation of the system engineering process

What are some of the challenges associated with the day-to-day design process that must be addressed for successful implementation of the system engineering process?

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd