Search:

Type: Posts; User: Mr.777

Search: Search took 0.21 seconds.

  1. Replies
    7
    Views
    1,577

    Re: My java program won't add up the numbers?

    Why not using an array instead of creating four different variables? Or use a single variable and add it up for all four inputs as OP seems to calculate the sum of all inputs. So, there is no need to...
  2. Replies
    7
    Views
    1,577

    Re: My java program won't add up the numbers?

    Umm.... What will this code do?


    fourSavers+=fourSavers;
    // Assuming that fourSavers is initialized by 0
Results 1 to 2 of 2