How JustAnswer Works:
  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site. Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.
Ask Ingo U Your Own Question
Ingo U
Ingo U, Software Engineer
Category: Homework
Satisfied Customers: 755
Experience:  Over 25 years experience in software development. Expert in Microsoft .Net, C#, C++, VB, SQL
Type Your Homework Question Here...
Ingo U is online now
A new question is answered every 9 seconds

Following is a small java assignment please do it in java

Customer Question

Following is a small java assignment please do it in java (if not too hard also in javascript)
Read the following data from a file:
Put all the records in to appropriate objects
Put all the objects in to a data structure
Loop through the data structure and print out (on screen)
Title,First Name, Last Name, Bonus (in currency format)
The bonus being the following rules:
Executive – 20% of salary
Supervisor – 10% of salary
Manager – 8% of salary
Employee – 5% of salary
Ex. Mr,Moshe,Roth,$50,000.00
Submitted: 1 year ago.
Category: Homework
Expert:  Ingo U replied 1 year ago.


I should be able to do this for you in Java. Any particular toolset you are using? Running on windows?


Ingo U

Customer: replied 1 year ago.
i wanna take your code and put it into eclipse ide
Expert:  Ingo U replied 1 year ago.

Well I don't have eclipse installed, but if I give you the java source code, you should be able to just create a new project inside eclipse, open up my code file in notepad and just copy&paste the code over into the eclipse window.

Later today OK?

Expert:  Ingo U replied 1 year ago.


please have a look:

Let me know if you need anything else.

Ingo U

Expert:  Ingo U replied 1 year ago.

just following up, were you able to use my solution?
Please feel free to post any additional questions, comments or concerns you may have regarding this issue.

If you're not yet satisfied with the result, please let me know what is missing.
I will do my best to make it right for you.

Otherwise, please don't forget to rate my service - I don't get paid for my work until your rating is received.

Ingo U

Customer: replied 1 year ago.
its not working in eclipse i got this error
Exception in thread "main" salaries.txt (The system cannot find the file specified)
at Method)
at Bonus.main(
Expert:  Ingo U replied 1 year ago.


that must mean the salaries.txt file is not in the eclipse debug working directory. I don't know the specific directory structure for eclipse projects offhand, but often there is a "bin" or "debug" subfolder where the executable code goes, and sometimes where the debugging happens. Try copying the salaries.txt file to different places (folders) under the project tree.

Expert:  Ingo U replied 1 year ago.

You need to spend $3 to view this post. Add Funds to your account and buy credits.