Search:

Type: Posts; User: dremn2004

Search: Search took 0.11 seconds.

  1. Replies
    4
    Views
    307

    Re: Need help please

    Thank you, I don't know why I did not catch that. I declared min at same time as max, and it compiles. I run it and it works, until it is supposed to give me the min and max and they come up as 0....
  2. Replies
    4
    Views
    307

    Need help please

    I have a program I am trying to write and I can not figure it out. I have to create a multi dimensional array and find the max and min values of the arrays. Here is my code;



    import...
  3. Replies
    10
    Views
    745

    Re: Not sure what is wrong

    Sorry, I did not realize I had not copied the import and class info....



    import java.util.Scanner;

    public class Assign7_1_Key {


    public static void main (String [] args)
  4. Replies
    10
    Views
    745

    Re: Not sure what is wrong

    That is what I have been doing, but I think the sinus headache I awoke with this morning is taking over my thought process...lol.

    Here is my current code:

    public static void main (String []...
  5. Replies
    10
    Views
    745

    Re: Not sure what is wrong

    OK, seems it seems I did have it closed into a pair of {}, I removed them and it comiles successfully now, however it is not running properly.

    This is the results I should get..

    *Enter a number...
  6. Replies
    10
    Views
    745

    Re: Not sure what is wrong

    This is the error I get when I compile.

    cannot find symbol
    symbol : variable average
    location: class Assign7_1_Key
    System.out.println("Average of the numbers is " + average);
    ...
  7. Replies
    10
    Views
    745

    Not sure what is wrong

    Ok, I am trying to set this program up using a for loop. I do not know if I am just to tired to find what is wrong, or if I am way off base, but my program is not compiling. Here is my code.

    ...
Results 1 to 7 of 7