Search:

Type: Posts; User: Xoratia

Search: Search took 0.09 seconds.

  1. Computer Science student, but really confused about my degree.

    Hello, I'm currently studying in a 2-year college and I thought I'd major in Computer science and when I transfer, I'd have the option of basically picking any of the sub-categories of Computer...
  2. Replies
    8
    Views
    6,605

    [SOLVED] Re: Help with Java code,

    I got it all done!

    Basically what I did was, I changed the months to String variables and I could return it just perfectly!

    Thank you Norm for you help,
    Truly appreciated!
  3. Replies
    8
    Views
    6,605

    [SOLVED] Re: Help with Java code,

    public static void main(String[] args)
    {
    double[] months = new double[12];
    double[] rainfall = new double[12];



    Scanner keyboard = new Scanner(System.in);

    for (int index = 0;...
  4. Replies
    8
    Views
    6,605

    [SOLVED] Re: Help with Java code,

    That really helped!

    Although, I got the program to compile correctly, I'm having a logical error.

    I can't get the program to grab which month had the most and least rain.
  5. Replies
    8
    Views
    6,605

    [SOLVED] Re: Help with Java code,

    C:\Users\PSY\Desktop\Rainfall.java:38: error: double cannot be dereferenced
    for (int index = 0; index < rainfall.length; index++)
    ^...
  6. Replies
    8
    Views
    6,605

    [SOLVED] Help with Java code,

    Write a program that stores the total rainfall for each of 12 months into an array of doubles. The program should have methods that return the following:

    the total rainfall for the year.
    the...
Results 1 to 6 of 6