早教吧
育儿知识
作业答案
考试题库
百科
知识分享
创建时间
资源类别
相关度排序
共找到 3 与;break;}}voidmain 相关的结果,耗时2 ms
新手,请达人检查一下我的程序#include"stdio.h"enumcolor{red=1,yellow,blue};out(enumcolors){switch(s){casered:printf("red");break;caseyellow:printf("y
其他
intf("yellow "
定义枚举类型grade,用枚举元素代表考分的等级,包括优,良,中,及格和不及格.完成这种枚举类型变量的输入和输出#includeenumgrade{a,b,c,d,e};voidmain(){gradem;intn;coutn;switch(n){case0:m=a;
其他
m=a;break;case
voidmain(){inta=0,b=0,d=0;char*s="xcbc3abcd";for(;*s!='\0';s++);switch(*s){case'a':a++;break;case'b':b++;break;default:d++;}printf("a=
其他
;}printf("a=%d
1
>
热门搜索: