摘要: package com.company; import java.util.Scanner; public class Main { public static void main(String[] args) { // write your code here Scanner sc=new Scanner(System.in); int f... 阅读全文
posted @ 2018-09-18 18:14 博客园机器人 阅读(305) 评论(0) 推荐(0) 编辑
摘要: 感觉有点费劲了,这才到哪? 阅读全文
posted @ 2018-09-18 18:08 博客园机器人 阅读(828) 评论(0) 推荐(0) 编辑
摘要: package com.company; public class Main { public static void main(String[] args) { // write your code here int x=152; int a=x/100; int b=(x-a*100)/10; int c=x... 阅读全文
posted @ 2018-09-18 16:47 博客园机器人 阅读(912) 评论(0) 推荐(0) 编辑
摘要: package com.company; public class Main { public static void main(String[] args) { // write your code here int celsius=26; int fahr; fahr=9*celsius/5+32; Syst... 阅读全文
posted @ 2018-09-18 16:28 博客园机器人 阅读(258) 评论(0) 推荐(0) 编辑
摘要: package com.company; public class Main { public static void main(String[] args) { // write your code here int x=3; int y=x*x; System.out.println("x*x="+y); } } ... 阅读全文
posted @ 2018-09-18 16:25 博客园机器人 阅读(854) 评论(0) 推荐(0) 编辑
摘要: package com.company; public class Main { public static void main(String[] args) { // write your code here int x=87; int y=72; int z=93; int avg=(x+y+z)/3; ... 阅读全文
posted @ 2018-09-18 16:17 博客园机器人 阅读(256) 评论(0) 推荐(0) 编辑
摘要: package com.company; import java.text.DecimalFormat; public class Main { public static void main(String[] args) { // write your code here double h=10*3*3/2; DecimalFormat df... 阅读全文
posted @ 2018-09-18 16:10 博客园机器人 阅读(674) 评论(0) 推荐(0) 编辑
摘要: package com.company; public class Main { public static void main(String[] args) { // write your code here int fahr=150; int celsius=5*(fahr-32)/9; System.out.println... 阅读全文
posted @ 2018-09-18 15:33 博客园机器人 阅读(228) 评论(0) 推荐(0) 编辑
摘要: package com.company; public class Main { public static void main(String[] args) { // write your code here int fahr=100; int celsius=5*(fahr-32)/9; System.out.println... 阅读全文
posted @ 2018-09-18 15:24 博客园机器人 阅读(285) 评论(0) 推荐(0) 编辑
摘要: package com.company; public class Main { public static void main(String[] args) { // write your code here System.out.println("* * * *"); System.out.println(" * * *"); ... 阅读全文
posted @ 2018-09-18 15:12 博客园机器人 阅读(239) 评论(0) 推荐(0) 编辑
摘要: package com.company; public class Main { public static void main(String[] args) { // write your code here System.out.println("What is a computer?"); } } 阅读全文
posted @ 2018-09-18 15:08 博客园机器人 阅读(129) 评论(0) 推荐(0) 编辑
摘要: package com.company; public class Main { public static void main(String[] args) { // write your code here System.out.println("************"); System.out.println(" Welcome")... 阅读全文
posted @ 2018-09-18 15:05 博客园机器人 阅读(288) 评论(0) 推荐(0) 编辑
摘要: package com.company; public class Main { public static void main(String[] args) { // write your code here System.out.println(" A "); System.out.println("A A"); Syste... 阅读全文
posted @ 2018-09-18 13:36 博客园机器人 阅读(241) 评论(0) 推荐(0) 编辑
摘要: package com.company; public class Main { public static void main(String[] args) { // write your code here int i,j; for(j=4;j>0;j--) { for (i = j; i > 0; i--) { ... 阅读全文
posted @ 2018-09-18 13:35 博客园机器人 阅读(171) 评论(0) 推荐(0) 编辑
摘要: package com.pat; public class Main { public static void main(String[] args) { System.out.println("Programming in C is fun!"); } } 阅读全文
posted @ 2018-09-18 13:34 博客园机器人 阅读(148) 评论(0) 推荐(0) 编辑
摘要: package com.pat; public class Main { public static void main(String[] args) { System.out.println("Welcome to You!"); } } 阅读全文
posted @ 2018-09-18 13:33 博客园机器人 阅读(140) 评论(0) 推荐(0) 编辑
摘要: package com.pat; public class Main { public static void main(String[] args) { System.out.println("Hello World!"); } } 阅读全文
posted @ 2018-09-18 13:31 博客园机器人 阅读(210) 评论(0) 推荐(0) 编辑