int s_c=100, a, b=0,c=0,i=1; char p_d; printf("请输入需要转换为二进制的整数:"); scanf_s("%d", &s_c); printf("二进制转十进制吗?(y\\n)"); p_d = getchar();