首页 > 代码库 > P77

P77

#include<stdio.h>
main()
{
	int x=1,y=0,a=0,b=0;
	switch(x)
	{
	case 1:
		switch(y)
		{
		case 0:a++;break;
		case 1:b++;break;
		}
	case 2:a++;b++;break;
	case 3:a++;b++;
	}
	printf("%d,%d\n",a,b);
}