Question: Using Java //leblake 5. Pay Fee Suppose that you work for the a payment processing service called PayFee. Your job is to write a program

 Using Java //leblake 5. Pay Fee Suppose that you work forthe a payment processing service called PayFee. Your job is to write

Using Java

//leblake

5. Pay Fee Suppose that you work for the a payment processing service called PayFee. Your job is to write a program to compute and display the fee that PayFee charges money receivers. The fee is computed according to the following payment rules Payments up to (and including 5500 have a fat fie of s Payments over S500 (but under $5000) have a fee of 1% or S20, whichever is higher. Payments of S5,000 (but under $10,000) and over have a fee of 2% or $120, whichever is higher. Payments of $10,000 and over are subject to fees as follows The first S 10,000 have a fee of 2% The next S5,000 have an additional fee of 3% Anything more will demand an additional fee of 4% For example, an payment of $40,000 would be subject to $1350 fee: 2% on the first $10,000 ($200 fee), 3% on the next S5,000 ($150 fee), and 4% on the last $25,000 (S1000 tax). Ask the user for their payment amount (real number) and compute the amount of the fee that they owe (real number Example: java PayFee 4500. 0 RESULT: 45. 0 Assume the user will only input a real number greater than zero. You must use the IO module to read inputs and to output your answer. DO NOT add any import statements to PayFee.java DO NOT change the headers of ANY of the given methods DO NOT use System.exit)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!