Hello, before I post my question I just wanted to thank those who helped me last time I posted. I was seriously considering dropping my class thinking that I wouldn't be able to do it. However, with my last hw assignment I came here and Niek_e especially pointed out some of my errors. I stayed up until around 3 am that night but I finally figured it out. So I just wanted to say thanks. Now my question. Here's what I'm supposed to do:

1. After following statements have executed, find hte value of the variable a.

```
int a=5;
while (a<=12)
a=a*2;
```

My main question is when I plug 5 in for a and get a=10, does that 10 replace the a=5 at the beginning of the problem? So for this problem my answer would be 10, correct?

2.

```
int a=2
while (a<=25)
a=a*a;
```

and for this one when I multiply 2 by itself and get 4, does that 4 replace the 2? So my answers would be...4 and 16?

Thanks, and hopefully I'm doing this correctly.