上一页 1 ··· 25 26 27 28 29
摘要: package shui; public class Shui { public static void main(String[] args) { // TODO 自动生成的方法存根 int g,s,b; for(int num=100;num<=999;num++) { b=num%10; s= 阅读全文
posted @ 2020-07-25 16:07 靠谱杨 阅读(74) 评论(0) 推荐(0) 编辑
摘要: package tem; public class Tem { public static void main(String[] args) { // TODO 自动生成的方法存根 //每隔10摄氏度输出 O°到300°之间的 华氏温度和摄氏温度对照 // C=5/9*(F-32); double 阅读全文
posted @ 2020-07-24 18:32 靠谱杨 阅读(155) 评论(0) 推荐(0) 编辑
摘要: import java.util.Scanner;public class LandP {public static void main(String args[]) { System.out.println("请输入数的个数n"); int n; int p,l; Scanner sc=new S 阅读全文
posted @ 2020-07-23 23:27 靠谱杨 阅读(258) 评论(0) 推荐(0) 编辑
摘要: //3.2 逆向输出三位整数! 7.22 package 三个和尚比身高1; import java.util.Scanner; public class Demo1{ @SuppressWarnings({ "unused", "resource" }) public static void ma 阅读全文
posted @ 2020-07-22 12:36 靠谱杨 阅读(100) 评论(0) 推荐(0) 编辑
摘要: package leap;import java.util.Scanner;public class Leap {public static void main(String args[]) { int year; //年 int month; //月 int day = 0; //日 boolea 阅读全文
posted @ 2020-07-21 22:44 靠谱杨 阅读(247) 评论(0) 推荐(0) 编辑
摘要: //7.20 三个和尚比身高import java.util.Scanner; //导包public class Hello{ public static void main(String[] args){ System.out.println("请输入第一个和尚的身高:"); int height 阅读全文
posted @ 2020-07-20 12:19 靠谱杨 阅读(167) 评论(0) 推荐(0) 编辑
摘要: /** * *//** * @author 86152 * */package interest;import java.util.Scanner;public class Interest{ public static void main(String args[]) { System.out.p 阅读全文
posted @ 2020-07-19 21:18 靠谱杨 阅读(501) 评论(0) 推荐(0) 编辑
摘要: 1 /** 2 * 3 */ 4 /** 5 * @author 86152 6 * 7 */ 8 9 package trangle; 10 import java.util.Scanner; 11 12 public class Trangle{ 13 public static void ma 阅读全文
posted @ 2020-07-18 22:30 靠谱杨 阅读(202) 评论(0) 推荐(0) 编辑
摘要: 控制台运行 阅读全文
posted @ 2020-07-17 22:09 靠谱杨 阅读(135) 评论(0) 推荐(0) 编辑
摘要: void StudentManage::Sort() //排序功能{ StudentInfo *h,*curr,*temp,*last; h=head; for(int j=0;j<n;j++) { curr=h; for(int i=0;i<n-j;i++) { if(curr->sum < cu 阅读全文
posted @ 2020-07-16 11:42 靠谱杨 阅读(140) 评论(0) 推荐(0) 编辑
摘要: package oddor;import java.util.Scanner;public class Oddor{ public static void main(String args[]) { int num; //定义任意整数 Scanner sc=new Scanner(System.in 阅读全文
posted @ 2020-07-15 16:38 靠谱杨 阅读(1550) 评论(0) 推荐(0) 编辑
摘要: package fabs;import java.util.Scanner;public class Fabs { public static void main(String args[]) { Scanner sc=new Scanner(System.in); double num; //定义 阅读全文
posted @ 2020-07-14 23:42 靠谱杨 阅读(672) 评论(0) 推荐(0) 编辑
摘要: /** * *//** * @author 86152 * */package Employee;import java.util.Scanner;public class Employee{ private int ID; //工作编号 private String name; //姓名 priv 阅读全文
posted @ 2020-07-13 19:40 靠谱杨 阅读(118) 评论(0) 推荐(0) 编辑
摘要: public class HelloWorld{ public static void main(String[] args) { System.out.println("Hello Wrold!"); }}; 阅读全文
posted @ 2020-07-12 17:47 靠谱杨 阅读(109) 评论(0) 推荐(0) 编辑
摘要: 1 package Address; 2 import java.util.Scanner; 3 4 public class Address{ 5 Scanner sc=new Scanner(System.in); 6 private String country; //国家 7 private 阅读全文
posted @ 2020-07-10 20:06 靠谱杨 阅读(145) 评论(0) 推荐(0) 编辑
摘要: 今日内容 阅读了构建之法第一章 工程师的宗旨:我构建,故我在。 哲学家的宗旨:我思,故我在。 科学家的宗旨:我发现故我在。 明天继续研究构建之法这本书! 阅读全文
posted @ 2020-07-09 20:59 靠谱杨 阅读(84) 评论(0) 推荐(0) 编辑
摘要: public class 定义要求文件名和类名保持一致,一个*。Java文件只允许有一个public class定义! 主方法是一切程序的起点, public static void main(String args[]){ } 明天继续学习Jshell交互式编程工具! 阅读全文
posted @ 2020-07-08 21:02 靠谱杨 阅读(95) 评论(0) 推荐(0) 编辑
摘要: 今天进一步学习了eclipse软件,遇到了几次程序运行不成功的问题,检查之后运行成功!明天继续学习程序逻辑控制! 阅读全文
posted @ 2020-07-07 20:24 靠谱杨 阅读(106) 评论(0) 推荐(0) 编辑
上一页 1 ··· 25 26 27 28 29