Java Loops II

  • + 0 comments

    here a = a + (int)Math.pow(2,j)*b;

    why we used a= a + __ : can we use another integer like int c=0; c= a + (int)Math.pow(2,j)*b;

    if not please explain