摘要: 5.编程输出1~100中能被3整除但不能被5整除的数,并统计有多少个这样的数 package com.Newclass.Study; public class ClassWork5 { public static void main(String[] args) { int count = 0; f 阅读全文
posted @ 2019-10-29 21:33 anfmj 阅读(111) 评论(0) 推荐(0)
摘要: 3.学生成绩问题,如果是A,成绩优秀,B,成绩良好,C,成绩一般,D,成绩及格,E,重考(用switch循环) package com.Newclass.Study; public class ClassWork3 { public static void main(String[] args) { 阅读全文
posted @ 2019-10-29 21:29 anfmj 阅读(139) 评论(0) 推荐(0)
摘要: 1.编写程序,给定一个整数,按相反顺序输出该数。 int num = 123456789; package com.Newclass.Study; public class ClassWork1 { public static void main(String[] args) { int num = 阅读全文
posted @ 2019-10-29 21:24 anfmj 阅读(150) 评论(0) 推荐(0)