Find Jobs
Hire Freelancers

38547 Four Small Java Projects

N/A

Completed
Posted over 18 years ago

N/A

Paid on delivery
The following are four java programs that I need by 01/09/06, 5 PM! (The sooner the better)They are very simple programs that could be written with very little effort for the expert Java programmer. Please include with your response how soon you could have it completed: 1: The Tax Advantage Company provides free tax services to residents who cannot calculate their personal taxes or pay for calculation by a public tax service. You have been asked to write a Java program that will calculate an estimate tax for either a single or married taxpayer, given a keyboard income entry. After the income is entered, a code status "S" for single or "M" for married is entered. The necessary classes are a Tax class with a main () method for keyboard entry of income and code status values, and a TaxReturn class to calculate the tax based on the input. The input values should be passed from the Tax class to the TaxReturn class through the instantiation of a TaxReturn object. The instantiation could take a form such as TaxReturn aTaxReturn = new TaxReturn (income, status) For taxpayers, two tax rates are needed, 15 percent and 30 percent. For single taxpayers, the cutoff rate of 15 percent is $10,000, and 30 percent above $10,000. For married taxpayers, the cutoff rate is 15 percent for amounts below $20,000, and 30 percent for amounts of $20,000 and above. Program output should show the code status, income, and the amount of tax. 2: We Cut Salon offers several salon services for its customers. Write a program that will allow reports to be output sorted by each type of service offered. Create a class for services offered by a hair styling salon. Data fields include a String to hold the service description (i.e. "Cut", "Shampoo", or "Manicure"), a double to hold the price, and an integer to hold the average minutes it takes to perform the service. The class name is HairSalon. Include a constructor that requires arguments for all three data fieldsand three get methods that each return one of the data field's values. Write a program named SortSalon that contains an array to hold six HairSalon objects and fill it with data. Include a method to sort the array in ascending order by price of service. Call the method and display the results. Add a second method to the SortSalon program that sorts the HairSalon objects in alphabetical order by service description. Call the method and display the results. Finally, add a prompt to the SortSalon program giving the user three choices: sort by description, price or time. Depending on the user's input, call one of the three sort methods and display the results. (Salon Services: Cut = $8.00, 15 minutes, Shampoo = $4.00, 10 min., Manicure = $18, 30 min., Style = $48, 55 min., Permanent = $18, 35 min., Trim = $6, 5 min.) 3: Rays Appliance sells a wide variety of kitchen appliances. Customers often ask for an estimate of the annual cost of running an appliance. Ray typically scribbles his calculations with a pencil on a notepad when he can find one. He has asked you to write a Swing applet that will do the calculations on his computer. Ray wants to be prompted to enter the cost per kilowatt hour of electricity and the estimated number of hours the appliance will run annually. After the figures are entered, the applet should display the estimated annual cost. 4: The Party Planner organization in your local town is sponsoring a contest to see who can program the best Java Swing applet to be used as an advertisement for their party events. You can download sound clips and graphic images from the Internet to use in your program. Create a Swing applet named JPartyPlanner and an HTML test file to run the Swing applet.
Project ID: 1788127

About the project

1 proposal
Remote project
Active 12 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Can be done as required, please view PMB.
$100 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Orange County, United States
5.0
1
Member since Jan 9, 2006

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.