Search:

Type: Posts; User: xXBurnt

Search: Search took 0.09 seconds.

  1. Replies
    2
    Views
    772

    [SOLVED] Re: Need help understand this while loop.

    Never mind I managed to figure it out.

    Since result is set to 1, when the while loop is called the result of one is being constantly multiplied by 2 until the loop has reached the value of 9.
  2. Replies
    2
    Views
    772

    [SOLVED] Need help understand this while loop.

    Hello everyone,

    I was reading a book and came across this while loop.



    public class Powers {
    public static void main (String [] args){
    int e;
    int result;
Results 1 to 2 of 2