1 2 3 4 5 6 7 8 9 10 11
int a; int b; int main(){ b=0; a=3; while(a>0){ b = b+a; a = a-1; } return b; }