Design a program using java code to process round trip

Assignment Help Basic Computer Science
Reference no: EM13725296

Design a program using JAVA code to process round trip tickets for travel to 2 cities and determine the bill for the travel tickets. The return trip must be at least 7 days from the initial trip to qualify for a discount of 20%, otherwise travelers will pay the standard rate of $150 per one way trip(there is 10% tax rate added to the total bill). This class should use the following private instance variables: traveler name, start date and return date of trip , bill amount, and any other you deem appropriate. At the very least, the class should have methods to request the guest's data(name,data- you can use days only for simplicity and not month or year,destination cities,etc) , display the invoice (traveler and details of the tickets) , and compute the final bill. Include accessor and mutator methods for the instance data. For maximum credit,make sure your program includes identifying documentation(your name, class name, date,etc), appropriate spacing, and is logically syntactically and semantically correct.

Reference no: EM13725296

Questions Cloud

Calculate the percent change in gross margin : Consider the following situation. Tricon Piping Systems manufactures small diameter potable polyethylene water pipe and achieves distribution primarily through plumbing wholesalers. The firm also sells directly to large construction companies, often ..
Assignment of database design : Create a data dictionary that includes the following: a. A description of the content for each field b. The data type of each field ac. The format the data will be stored as in the field d. The range of value for the field e. A label, as required, i..
What is the purpose of the production-or aggregate-plan : What is the purpose of the production-or aggregate-plan, What is the difference between productivity and efficiency
Information is available concerning trade margins and costs : Within a given distribution channel, the following information is available concerning trade margins and costs. A wholesaler has a unit selling price of $250 and a unit cost of $140. The retailer requires a 33% mark up on selling price. The manufactu..
Design a program using java code to process round trip : Design a program using JAVA code to process round trip tickets for travel to 2 cities and determine the bill for the travel tickets. The return trip must be at least 7 days from the initial trip to qualify for a discount of 20%, otherwise trave..
Computer referral tracking system : What is a computer referral tracking system? What is a manual referral tracking system? Why are they necessary for any medical practice?
Impact of leadership style on organization performance : The impact of leadership style on organization performance: A case of the Saudi Telecom Company (STC)
Future value of an annuity : Your client is 35 years old; and she wants to begin saving for retirement, with the first payment to come one year from now. She can save $15,000 per year; and you advise her to invest it in the stock market, which you expect to provide an average re..
Company expects this equipment will lead to cash flows : Muncy, Inc., is looking to add a new machine at a cost of $4,133,250. The company expects this equipment will lead to cash flows of $820,322, $863,275, $937,250, $1,018,610, $1,212,960, and $1,225,000 over the next six years. If the appropriate disco..

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

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