摘要: import java.util.*;//声明Scanner public class Main {//类型 public static void main(String[]args){//入口Scanner input = new Scanner(System.in);System.out.println("请输入a值");int custNo=input.nextInt();if (custNo>1000&&custNo<2000){ System.out.print("大于1K"); }else if(custNo> 阅读全文
posted @ 2011-12-11 06:31 馨梦域名主机服务中心 阅读(229) 评论(0) 推荐(0) 编辑
摘要: import java.util.*;//声明Scanner public class Main {//类型 public static void main(String[]args){//入口Scanner input = new Scanner(System.in);System.out.println("请输入a值");int custNo=input.nextInt();int baiwei=custNo/100%10;int suiji =(int)(Math.random()*10);if (baiwei==suiji){ System.out.pr... 阅读全文
posted @ 2011-12-11 06:19 馨梦域名主机服务中心 阅读(418) 评论(0) 推荐(0) 编辑
摘要: import java.util.*;//声明Scanner public class Main {//类型 public static void main(String[]args){//入口Scanner input = new Scanner(System.in);System.out.println("请输入a值");int a=input.nextInt();if(a%5==0||a%3==0) { System.out.println(a+"是3或者5的倍数"); }else{ System.out.println("该数字不能被3 阅读全文
posted @ 2011-12-11 05:17 馨梦域名主机服务中心 阅读(214) 评论(0) 推荐(0) 编辑
摘要: import java.util.*;//声明Scannerpublic class Main {//类型 public static void main(String[]args){//入口Scanner input = new Scanner(System.in);System.out.println("请输入a值");int a=input.nextInt();System.out.println("请输入b值");int b=input.nextInt();System.out.println("请输入c值");int c=i 阅读全文
posted @ 2011-12-11 05:03 馨梦域名主机服务中心 阅读(199) 评论(0) 推荐(0) 编辑
官方推出免费静态网页空间,适合大企业展示和个人展示类空间。欢迎联系QQ908898668申请。