首先,你的程序有问题!printf后面没有冒号。#include <stdio.h>int main(){ int k; scanf("%d",&k); switch(k) { case 1:printf("%d\n",k++); case 2:printf("%d\n",k++); case 3:printf("...
include int main() { int none,ntwo,nfive;int count=0;for(nfive=0;nfive;nfive){ for(ntwo=0;ntwo;ntwo){ none=60-ntwo-nfive;if(100=(nfive*5+ntwo*2+none)){ count;printf("第%d种:%d个五分,%d个两分,%d个1分\n",count,nf...