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

  Explain how to handle exceptions within a program

Continuing our discussion of exceptions we will work to understand various debugging and exception handling techniques. Please respond to all of the following prompts: -- Explain how to handle exceptions within a program, and provide an example using..

  1 explain the differences between our specifications of the

1. explain the differences between our specifications of the sorted list adt and the binary search tree adt.2. define a

  Display the program output of the collision results

According to my lecturer, I need the tutor to display the 'program output' of the collision results implemented by BirthdayAttack.java in a output.txt file. Can the tutor do this?

  Write methods to retrieve information about a note

calculate the frequency, use the formula 440 x 2^(n/12) where n is the note number - implement a class that will be used to hold information about a musical note.

  This assignment will focus on creating java servlets that

this assignment will focus on creating java servlets that can not only serve html to web users but also provide a web

  Create a class named movie that can be used with a video

extend above with a Rental class. This class should store a Movie that is rented, an integer representing the ID of the customer who rented the movie, and an integer indicating how many days late the movie is.

  Display the earliest and latest dates that appear in a data

display the earliest and latest dates that appear in a data file, and the number of times that they appear. I have already parsed all of the dates from their original string to their corresponding int values.

  Development of an automated atm machine using java

Development of an Automated ATM Machine using Java - The ATM application stack shall be loaded to a fully-equipped ATM machine with complete CPU power, chip card reader, secure crypto-processor, display monitor, function keys, in-built printer and ..

  Determines the number of stages on the rocket

Write a program that reads these data and determines the number of stages on the rocket. Use the data file rocket2.txt. It contains a trailer line with the value -99 for all four values.

  Prepare worlddataapp project it implements the nameindex

prepare worlddataapp project. it implements the nameindex portion includingbull creating it implemented as a binary

  Create listener objects for each jcombobox

Create listener objects for each JComboBox that set the background color of the panel when the user selects an integer. Use the current values supplied by the JComboBox objects to determine the background color.

  Write a program to compute the cumulative gpa

This program will compute the cumulative GPA based on user input.  This program will use dialog boxes with the JOptionPane class as well as the console to send/receive information to/from the user.

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