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* ",i);break; 10 case 2:printf("i=%d** ",i); 11 case 5:printf("i=%d***** ",i);break; 12 case 4:printf("i=%d**** ",i); 13 default:printf("i=%d*** ",i); 14 } 15 }