Home > Back-end >  My elipse
My elipse

Time:10-25


Without a computer, want to know the answer, thank you bosses told,
The Java source code is as follows, with debugging to see, when I, j, respectively, are equal to the final three, 10 e how much respectively, all the values are copied,
Public class ShowTest {

Public static void main (String [] args) {

Double e=1, sum=1;

Int I=1, j=0;

While (I & lt; 1000) {

Sum=I * sum;

E=1.0/sum + e;

J++;

i++;

}

}

}
  • Related