Search:

Type: Posts; User: Topflyt

Search: Search took 0.28 seconds.

  1. Replies
    5
    Views
    1,084

    [SOLVED] Re: exception handling

    Thank you Norm, that is what I did. I have already turned that in.
  2. Replies
    5
    Views
    1,084

    [SOLVED] Re: exception handling

    Ya, I'm sorry, rewrote the code. Here is the new code. Would still like to error handle the exception possibility of input being a letter and not a number with a try/catch.Please help with...
  3. Replies
    5
    Views
    1,084

    [SOLVED] exception handling

    Hi, before anyone trashes my question, I have not been taught this yet so forgive my ignorance. I would like to correctly handle the exception for user input of 1-4 when someone inputs a letter...
  4. Replies
    9
    Views
    614

    [SOLVED] Re: Not initializing

    Thank you for the tips, I am going to retry it tonight after stuffing turkey down my gullet all day. Happy Thanksgiving!!
  5. Replies
    9
    Views
    614

    [SOLVED] Re: Not initializing

    OK, I am stuck. This code works and the one above doesn't. I do not know/understand why variable of third method doesn't initialize, but these do.Help...

    import java.util.Scanner;
    import...
  6. Replies
    9
    Views
    614

    [SOLVED] Re: Not initializing

    doesn't lines 41 and 43(temperature = scan.nextDouble; and windSpeed = scan.nextDouble) take user input for variable initialization? And why did the first two work, structure is the same.
  7. Replies
    9
    Views
    614

    [SOLVED] Not initializing

    Hi, I am stuck on my last method, no problem with the first two. Error lines are on lines 44(chill), 86(temperature), 86(windSpeed). All are "may not have initialized". I do not know why the first...
  8. Replies
    9
    Views
    437

    [SOLVED] Re: cannot find symbol error

    Thank you Kevin, I was able to get it right. I was using void methods before and what I had worked for void methods, I was stuck when I had to make a return method.
  9. Replies
    9
    Views
    437

    [SOLVED] Re: cannot find symbol error

    OK, Thank you to all who responded, much love.
  10. Replies
    9
    Views
    437

    [SOLVED] Re: cannot find symbol error

    @mccolem Thank you, that worked. I guess i got stuck when changing a void method with a return method. When I made the public static void method it printed just as I had it in the above program, not...
  11. Replies
    9
    Views
    437

    [SOLVED] Re: cannot find symbol error

    where do I declare(what lines), didn't I declare the variables in lines 17,23,29?(double calculateCentimeters, double calculateFeet, double calculateYards)?
  12. Replies
    9
    Views
    437

    [SOLVED] This problem has been resolved.

    Hi, I am new to java this semester and I am getting a cannot find symbol error(calculateCentimeters,calculateFeet,calculateYards). I am struggling to fix this, any advice would help. It is the...
Results 1 to 12 of 12