Write a Java program in Eclipse to calculate the total cost to enter into a waterpark for a family/group
Ticket rates are listed below
kids (Age 12 and under)=$ 12.50
Regular( Age between12 -55) =$ 18.25
Seniors (55 and above) = $15.00
Tax =7%
Your program should ask the user to enter the total number of members in their group.
User needs to enter the ages for all members. Write appropriate error messages for invalid entries.
An array should be used to store the ages of the family members.
Based on the age it has to calculate the cost of each member and calculate the total cost including tax.
Your program should display
The number of tickets for each type
And the total cost for the group
After display your program should repeat the process until the user wants to stop.
Your program must use
Sample run of the program:
Welcome to our WATERPARK!!!
Please enter the number of members in your group. 7
Please enter the ages for each person in your group. 15 28 11 34 26 60 58
Please pay the total of $115.50 + 7% tax = $ 123.59
And pick up
1 Kid ticket
4 Regular tickets and
2 Senior tickets
Please Press a positive number for next customer, Negative number to end. 5
Welcome to our WATERPARK!!!
Please enter the number of members in your group.
In: Computer Science
Daily Enterprises is purchasing a $ 10.2 million machine. It will cost $ 50,000 to transport and install the machine. The machine has a depreciable life of five years and will have no salvage value. The machine will generate incremental revenues of $ 3.8 million per year along with incremental costs of $ 1.2 million per year. If Daily's marginal tax rate is 35 %, what are the incremental earnings (net income) associated with the new machine?
In: Finance
On January 1, 2018, A Co. purchased a machine at a cost of $84,000. The machine is expected to last 5 years and has a residual value of $14,000.
Required:
1. Compute depreciation for the five year periods ending December 31 using the straight-line, sum-of-the-years digits and DDB method.
straight-line:
sum-of-the-years digits:
DDB method:
2. The machine is sold on January 1,2020 for $40,000. Compute the gain or loss for each method.
In: Accounting
A politician claims that medical insurance companies do not cover a majority of the cost and the average patient has to pay more than $10,000 in hospital bills. Using the critical value method, test this claim at the 5% level of significance. Why might having high hospital charges be an issue for patients?
Mean= 13266.97
Standard Deviation= 12110.01
In: Math
A firm can lease a truck for 5 years at a cost of $45,000 annually. It can instead buy a truck at a cost of $95,000, with annual maintenance expenses of $25,000. The truck will be sold at the end of 5 years for $35,000. The cost of capital is 15%. What is the EAC of Purchase?
In: Finance
A firm's cost of capital:
Select one:
a. depends on source of funds used for a project
b. is independent of firm's capital structure
c. depends on how funds are going to be spent
d. will decrease as the firm-risk increases
In: Finance
It is time for the renewal of existing machinery at Blackstone
Ltd. New machinery will cost $95,000 and this amount can be
borrowed from the local bank at 8 percent interest with annual
payments at the end of the year. The CCA rate on the machinery
would be 20 percent. The machinery will be salvaged in 5 years for
$22,000. The current machinery is worth $12,500. Blackstone could
also lease the machinery with annual lease payments of $20,000
payable at the beginning of each year, which would avoid the annual
maintenance expense of $1,250 involved if they purchase the
machinery. Cost of capital is 13 percent. The tax rate is 40
percent.
Should Blackstone Ltd. lease or borrow to purchase the machinery?
In: Finance
Identify an example company and 2 impacts on cost and 2 impacts on service for the following types of distribution networks:
-Manufacturer Storage with Direct Shipping
-Manufacturer Storage with Direct Shipping and In-Transit Merge
-Distributor Storage with Carrier Delivery
-Distributor Storage with Last-Mile Delivery
-Manufacturer or Distributor Storage with Customer Pickup
-Retailer Storage with Customer Pickup
-E-Business
In: Operations Management
XYZ Company is considering the purchase of a new machine. The machine will cost $200,000 and is expected to last 10 years. However, the machine will need maintenance costing $25,000 at the end of year three and at the end of year six. In addition, purchasing this machine would require an immediate investment of $35,000 in working capital which would be released for investment elsewhere at the end of the 10 years. The machine is expected to have a $15,000 salvage value at the end of 10 years. The machine will be used to generate net cash inflows of $46,000 per year in each of the 10 years. XYZ Company has a cost of capital of 8% and an income tax rate of 40%. Calculate the net present value (NPV) of this machine.
In: Finance
In: Operations Management