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

  Define java implementation to implement the requirements

Produce a Java implementation to implement the requirements of Question 1, that is, to perform the 32-bits two complement and 32-bit floating-point conversion of a given number.

  Web engineering principles

web application development, Web Engineering methodology, UML-based Web Engineering (UWE), models to the expansion of web applications, Object Oriented Web Solutions (OOWS),Web Modeling Language (WebML) methodology, Object-Oriented Hypermedia Design..

  Create an array of date objects

Create an array of Date objects of size 4. Initialize the array by using a loop. In the loop, use the Scanner.nextLine() method to input a date as a string, convert it to a date by using the toDate() method, and assign the result to an element in ..

  Write an application that reads determines the surface area

Write a program that uses the top five countries' National Wealth to calculate the average of those five countries.

  Java program ask user to enter 10-character telephone number

Write a Java program that asks the user to enter a 10-character telephone number in the format XXX-XXX-XXXX. The program should display the telephone number with any alphabetic characters

  Design an abstract data type in java

Design an abstract data type in Java that represents a musical pitch

  A remote web-based file storage application

Develop a web-based application. The server-side part of the application must be developed using Java Servlets (possibly including JSP). The development of the client (browser) side will typically be a combination of HTML and Javascript.

  The department of community affair- jail report

The Department of Community Affairs (DCA) for the State of Georgia performs many functions including gathering statistics and doing research. DCA provides a monthly jail report that provides some interesting information about jails in the state.

  Using notepad that implements a basic text analyzer

Write a Java application using Notepad that implements a basic Text Analyzer.

  Write a program that reads words from a text file

Write a program that reads words from a text file and displays all the nonduplicate words in ascending order. The text file is passed as a command-line argument.

  Java is considered to be safe from buffer overflows

Java is considered to be safe from buffer overflows. Does that make it more appropriate to use as a s development language when security is concerned? Be sure and weight all if the risks involved in product development, not just the security aspec..

  Write java program to display results in java applet

Write down the java program which displays following results in java applet. Permits the user to enter three numbers (use JOptionPane for this) and prints out average of those value on screen.

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