Dec 30, 2012 at 6:45pm
Your loop body will only execute when b<3. Since that's never true, it will obviously never execute.
Dec 30, 2012 at 7:01pm
because it has exited the loop as b is no longer bigger than 3 it is the same.
you entered 4
4 is bigger than 3 so b--(or b-1)
b Is now 3
3 is not bigger than 3
loop exits
displays yea
Dec 30, 2012 at 7:02pm
also what are you using int a for?