Search:

Type: Posts; User: gajen

Search: Search took 0.20 seconds.

  1. Replies
    5
    Views
    230

    Re: Problem with looping

    I've put the values used to do the calculations in the loop but for the first line of the text file it skips it. Is there a different method I should use instead of nextLine? This is the code:

    ...
  2. Replies
    5
    Views
    230

    Re: Problem with looping

    This is the result when it executes:

    0.0 Celsius is Fahrenheit 57.6
    33.3
    100.0
    -10.0
    -273.0
  3. Replies
    5
    Views
    230

    Problem with looping

    I'm a beginner in Java and I wanted to create a program where I can convert from celsius to fahrenheit but I need to be able to read and process data from a text file also. The text file has 5 lines...
Results 1 to 3 of 3