#include <stdio.h>
#include <stdlib.h>

/* run this program using the console pauser or add your own getch, system("pause") or input loop */

int main(int argc, char *argv[]) {
	

	int a=0;
	int b=0;
	int c=0;
	int d=0;
	
	for(;a<10;++a)
	{
		b++; printf("b=%d\n", b);
		++c; printf("c=%d\n", c);
		d=b+c; printf("d=%d, c=%d, b=%d\n", d, b, c);
		
			if(d>11)
			break;
	}
	printf("a=%d\n",a);
	return 0;
}