java programming

posted by .

I have to make two classes, one is to import a file and display the integers in the file. The other class has to take the integers from the first class and use them to calculate things like the average, the highest, the total, and I am completely stumped...please help!!!

  • java programming -

    P.S. I was able to import the file in the first class, but I'm stuck at step one on the second class

Respond to this Question

First Name
School Subject
Your Answer

Similar Questions

  1. Computer Science - Java

    Hi, For an assignment I am doing, we have to have 2 service classes and one application class. One service class is already written (i.e. DiceGame1) and I am writing another one (i.e. Player) that is supposed to use the previous service …
  2. programming

    Can anyone help me with this really confusing programming problem?
  3. computers

    Need help with writing an imageJ plugin which is in java. Here is the question: Create an ImageJ plugin for 8-bit grayscale images of arbitrary size that paints a white frame (with pixel value 255) 10 pixels wide into the image. Here …
  4. Programming

    2. Then it should prompt the user for the input file name of the file containing the data to sort. 3. If the program can't open the file or if no file name is entered (^d or ^z is entered for EOF), it should print an error message …
  5. Computer Science

    Consider the following application files: /JavaCS1/src/guiprojectcity2/DisplayWindow.java import java.awt.*; import javax.swing.*; public class DisplayWindow extends JFrame{ private Container c; public DisplayWindow(){ super("Display"); …
  6. java

    Write a java application that finds the smallest of several integers. Prompt the user for the number of integers that will be input, then prompt the user for that number of integers. Evaluate the integers to determine the smallest …
  7. Data Structures and Algorithms

    Given integers R,M with M≠0, let S(R,M) denote the smallest positive integer x satisfying the congruence Rx≡1(mod M) if such an x exists. If such an x does not exist, put S(R,M)=0. Each line of this text file contains a …
  8. PROGRAMMING

    1. Make a C program that will input two integers and then to enter an option as follows: • 1 = to add the two integers. • 2 = to subtract the second integer from the first. • 3 = to multiply the integers • 4 = to divide the …
  9. Ic

    Write an application that prompts the user for two integers and then prompts the user to enter an option as follows: 1 to add the two integers, 2 to subtract the second integer from the first, 3 to multiply the integers, and 4 to divide …
  10. Java programming

    Okay so I am rewrite the program and it's still not coming right can anyone help me see what's going wrong here please I have to turn this in by tmw so here the program The following program is supposed to read two numbers from a file …

More Similar Questions