1 #include <stdio.h>
2 #include <stdlib.h>
3
4
5 void main(){
6 int i;
7 scanf(
"%d",&
i);
8 switch(i){
9 case 1:printf(
"i=%d*\n",i);
break;
10 case 2:printf(
"i=%d**\n",i);
11 case 5:printf(
"i=%d*****\n",i);
break;
12 case 4:printf(
"i=%d****\n",i);
13 default:printf(
"i=%d***\n",i);
14 }
15 }
switch
转载于:https://www.cnblogs.com/Catherinezhilin/p/9945792.html
相关资源:JAVA上百实例源码以及开源项目
转载请注明原文地址: https://mac.8miu.com/read-71092.html