Put all the given records in to appropriate objects

Assignment Help JAVA Programming
Reference no: EM13963218

Problem: 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:

Executive,Mr,Moshe,Roth,250000

Supervisor,Mr,Chaim,Stark,150000

Supervisor,Mr,Moshe,Spira,160000

Manager,Mr,Yehuda,Gold,120000

Manager,Mrs,Miriam,Weiss,120000

Employee,Mr,Shlomo,Green,65000

Employee,Mrs,Ester,Silver,75000

Employee,Mr,Yakov,Weiser,70000

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.

Reference no: EM13963218

Questions Cloud

After-tax return on capital : Cello is a manufacturer of pianos. It earned an after-tax return on capital of 10 percent last year and expects to maintain this next year. If the current year's after-tax operating income is $100 million and the firm reinvests 50 percent of this ..
What is the point of having a cap to ground in a dc circuit : How do you design a circuit to use caps or inductors in a dc circuit? An ac circuit?
What fraction of the incident energy is transmitted : The speed of sound waves in water (density 1.00 x 10 3 kg/m 3 ) is c=1480 m/s. What is the average intensity (in W/m 2 ) of a 1000 Hz sound wave in water if the displacement amplitude of the wave is 1.00 nm? (1 nm=10 -9 m).
Determine the ac power to the consumer and the voltage : Specifically, what equations would be helpful to use to determine the AC power to the consumer and the voltage at the generator end of the transmission line? I don't know where to begin.
Put all the given records in to appropriate objects : 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)
Estimate the firm reinvestment rate : Assume that the firm is in stable growth, growing 5 percent a year forever; estimate the firm's reinvestment rate. Given this reinvestment rate, estimate the value of the firm. What is the value of the firm, if you assume a zero reinvestment rate and..
Would you see light attain maximum brightness 60 or 120 time : If you could perceive these oscillations, would you see the light attain maximum brightness 60 or 120 times per second?" Explain.
Illiquidity discounts in private firm valuation : If you buy stock in a publicly traded firm and then change your mind and decide to sell, you face modest transaction costs. If you buy a private business and change your mind, it is far more difficult to reverse your decision.
How were they able to finally get the needed financing : What were the 2 major issues with the Caribbean expansion the turnaround company found and why do you think they were brought up? How were they able to finally get the needed financing for expansion? Why may healthcare companies need to look beyond ..

Reviews

Write a Review

JAVA Programming Questions & Answers

  Allows the user to enter a temperature and whether

Write a program that allows the user to enter a temperature and whether the temperature is stated in Celsius or Fahrenheit...or whethe

  Function using javascript syntax to compute gross pay

Write a function using JavaScript syntax to compute a person's gross pay for a week. The function must receive the number of hours worked and the rate of pay per hour.

  Design an adt for a two-color

Design an ADT for a two-color, double-stack ADT that consists of two stacks one "red" and one "blue" and has as its operations color-coded versions of the regular stack ADT operations.

  Design and implement an applet that plays a simple game

Design and implement an Applet that plays a simple game to help teach a child to read. The game displays a picture on the left hand side of the Applet and a word on the right hand side. Below the pictures are two buttons for the child to click--on..

  Write a complete java program assuming that the variables gp

Write a complete java program Assuming that the variables gpa, deanList and studentName have been declared, you should read in the studentName and gpa from keyboard. Write an if statement that adds 1 to deansList and prints studentName to the standar..

  Java file input and outputnbspcreate a file that contains

java file input and outputnbspcreate a file that contains your favorite movie quote. use a text editor such as notepad

  In this project you will simulate some people catching fish

in this project you will simulate some people catching fish in a lake. the purpose of the assignment is to get used to

  Sets a loop to find 10 random generated

Write a java code that 1) uploads a file 2) sets a loop to find 10 random generated words from the file and then search those words by a. IndexSequential Method b. indexBinary Method. then, report how much time both methods took.

  Use data structures and algorithm to implement search engine

For the URLs in the keyword list, sort them by either the number of times the keyword appearing in the pages or the popularity of the pages.

  Write a fraction class called fraction.java

Write a Fraction class called Fraction.java that implements these methods: add - This method receives a Fraction parameter and adds the parameter fraction to the calling object fraction. multiply - This method receives a Fraction parameter and multip..

  Circuit for nuclear power plant alarm

Design a circuit for nuclear power plant alarm (slide #2) . Construct a) truth table, b) Boolean expression, c) draw logic circuit, and d) simulate with Multisim (or equivalent) circuit simulation software. Clearly label all inputs and outputs.

  1obtaining the new script download and save the attached

1.obtaining the new script download and save the attached comment cgi mailer script form-mail.pl to your servers

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd