Write a program that will process the data file

Assignment Help JAVA Programming
Reference no: EM13694501

Question: You have a text file that generated 1000 lines with a faculty member's first name, last name, rank and salary. The ranks are randomly generated as assistant, associate, or full. The salary is randomly generated for an assistant from $40000 to 50000, for associate from 50000 to 100000 and for full from 60000 to 110000. The output looks like this:

FirstName1 LastName1 assistant $25133.42
FirstName2 LastName2 full $100123.44
...
FirstName1000 LastName1000 associate $52344.11
Write a program that will process the data file to read the file and calculate
1) The number of assistants and the average salary
2) The number of associates and the average salary
3) The number of professors and the average salary
4) The Lowest Salary and the person who earns it
5) The total number of professors and their average salary

This should be displayed in a JFrame, and an ArrayList should be useful.

Make this program using java programming. Make this program in simple way.

Reference no: EM13694501

Questions Cloud

Write a short memo to the vice-president of production : Formulate a linear program that can be used to determine the optimal product mix for the chemical company. Specifically, do the following: Identify the decision variables (make sure that you specify the units for these variables). Specify the obje..
Where c is the temperature in degrees celsius : Write a program that takes as input a depth in kilometers inside the earth and displays the temperature at this depth in degrees Celsius and in degrees Fahrenheit.
How long does a paged memory reference take : how long does a paged memory reference take - What is the effective memory reference time?
Sum of two squares of natural numbers : The formula "x is a sum of two squares of natural numbers" can be written as ?y?z(x = y × y + z × z).
Write a program that will process the data file : Write a program that will process the data file to read the file and calculate the number of assistants and the average salary and the number of associates and the average salary
Can an s-r flip flop be made with a t flip flop : Can an S-R Flip Flop be made with a T Flip Flop (and some other logic)? If YES, then how? Please explain the process.
Write a java statement to create an arraylist : Write a java statement to create an ArrayList called list to hold 25 integers - What is the type of the ArrayList defined in question number 1.
Explain the benefits of normalization : Explain one characteristic of a database that has data redundancy and Briefly explain the benefits of normalization and why we should implement it when designing databases
Characteristic of a database that has data redundancy : Explain one characteristic of a database that has data redundancy. Note: Redundancy in our context is not a good thing

Reviews

Write a Review

JAVA Programming Questions & Answers

  The goal is to create a project that would let a user

the goal is to create a project that would let a user compute area and perimeter of a polygon. restrict the type of

  Implement a shopping cart class with user interface

project will be to implement a shopping cart class with user interface (UI) that contains main() in Net Beans. The UI class will be used to perform user input/output and to invoke the appropriate methods of shopping cart class. When your program star..

  Create a deque class based on the discussion of deques

Create a Deque class based on the discussion of deques (double-ended queues) in this chapter. It should include insertLeft(), insertRight(), removeLeft(), removeRight(), isEmpty(), and isFull() methods.

  Display student details and classes in applet

Display student details and classes they have enrolled in Applet. The Applet should have following features. Update and View.

  Consider a company that wants to keep track of its employees

Consider a company that wants to keep track of its employees, their positions and their telephone numbers. Your development team has developed a simple prototype using the Java code found in EmployeeDirectory.zip.

  In cryptarithmetic puzzles mathematical equations are

in cryptarithmetic puzzles mathematical equations are written by using letters. each letter can be digit from 0 to 9

  Create java program to simulate the operation of a bank atm

write a Java program to simulate the operation of a bank ATM (cashpoint) system for payment and deposit on an account. In order to make the system fairly simple there is only one bank account and there are 5 cards that can be used to deposit or wi..

  Determine the example of a javascriptr framework in the

what is an example of a javascriptr framework? in the framework you have described what is an example of an application

  2 before we developed a stringlog adt it represents a log

2. before we developed a stringlog adt. it represents a log that holds objects of class string. suppose that instead of

  Develop a web-based application the server-side part of

develop a web-based application. the server-side part of the application must be developed using java servlets

  Objectivesto gain experience with arrays to gain

objectivesto gain experience with arrays. to gain experience with generic algorithms.documentationexplain

  Design a class that you can use to track the books

Define a class PileOfBooks that implements the interface described in question one. use a resizeable array oin your implementation. then write unit test woth adequate test cases for your implementation of class PiloOfBooks.

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