1、10.求 11000 之间可以同时被 3,5,7 整出的数字。public class ZhengChupublic static void main (String args) int sum = 0; for (int a=1;avoid main()int score,i;printf(“Enter the Students Score:n“); scanf(“%d“,i= score/10; switch( i ) case 10: case 9: printf(“优秀n“); break; case 8: printf(“良好n“); break; case 7: printf(“中
2、等n“); break; case 6: printf(“及格n“); break; default:printf(“不及格n“); (2)#includevoid main()int score;printf(“enter the students score:n“); scanf(“%d“,if(score=90) printf(“优秀n“);else if(score=80) printf(“良好n“);else if(score=70) printf(“中等n“);else if(score=60) printf(“及格n“);else printf(“不及格 n“); 运行结果:85 良好