读程序,写出和程序输出格式一致的输出结果。 #include <stdio.h> int main(void) { int x = 1, y = 1, a = 0, b = 0; switch(x) { case 1: switch(y) { case 0: a++; case 1: b++; case 2: b++; break; } case 2: a++; b++; break; case 3: a++; b++; } printf("a=%d,b=%d\n", a, b); return 0; } 输出结果: