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

  It solution to utilize as a strategic weapon

Why is it so imperative for an organization, regardless of size, to explain a Business Model, and then look for which IT solution to utilize as a strategic weapon?

  One of the most important functions that you will perform

one of the most important functions that you will perform in todays new technology-laden law office is that of legal

  What are three separate methods of referring

What are three separate methods of referring to your local computer on a network?

  Create a details element that displays the summary

Write an HTML5 element (or elements) to accomplish each of the following tasks: a. Students were asked to rate the food in the cafeteria on a scale of 1 to 10.

  Calculate and output the following statistics

A player wins by collecting all the cards. If a player runs out of cards while dealing the face-down cards of a war, he may play the last card in his deck as his face-up card and still have a chance to stay in the game. Once a single player holds ..

  Decision structures and conditionals

Discuss routine decisions you make throughout your day. How might you implement them using C# decision structures and conditionals?

  Translate the first instruction into english

If the machine is started with its program counter containing 00, what bit pattern is in register 6 when the machine halts?

  What emerging it/is do you think will be popular

What current IT/IS do you think will still be relevant ten years from now?What current popular IT/IS do you think will still be obsolete ten years from now?What emerging IT/IS do you think will be popular and widely adopted in the future?

  Consider a demand-paging system

Consider a demand-paging system with the following time-measured utilizations.

  Application communications plan

Application Communications Plan

  How implement memory allocation with strings

how implement memory allocation with strings.

  How do you print the rightmost element in a binary tree

How do you print the rightmost element in a binary tree?

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