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 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.

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Design a program using java code to process round trip
Reference No:- TGS0978525

Expected delivery within 24 Hours