![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
逊
文章平均质量分 56
论事不论人
我很勤奋,只是忘了写简介
展开
-
项目四总结:MYSQL数据表的检索
1,查看表中所有字段数据 select * from 表名 where 条件; 表名后可加where条件 select * from 表名 where 条件 order by 字段名 limit 条数; 2,查看表中部分字段数据 select 字段名1,字段名2,...,字段名n from 表名 where 条件; 表名后可加where条件 select 字段名1,字段名2,...,字段名n from 表名 where 条件 order by 字段名 limit 条...原创 2022-04-28 11:54:03 · 117 阅读 · 0 评论 -
java随机数猜字游戏
package 作业; import java.util.Random; import java.util.Scanner; public class 猜字游戏 { public static void main(String[] args) { try (Scanner sc = new Scanner(System.in)) { Random rand = new Random(); int i = rand.nextInt(10...原创 2022-04-08 09:25:08 · 3164 阅读 · 0 评论 -
九九乘法表
package 作业; public class 九九乘法表 { public static void main(String[] args) { //for循环语句 for(int i=1;i<10;i++){ //双重for循环语句 for(int j=1; j<=i;j++){ //把99乘法表打印出来 System.out.print...原创 2022-04-08 08:39:45 · 194 阅读 · 0 评论 -
java一元二次方程
package 撒比; import java.util.Scanner; public class 一元二次方程 { public static void main(String[] args) { double a,b,c; Boolean a1=true; Scanner input=new Scanner(System.in); while(a1) { System.out.println("输入a...原创 2022-04-08 08:28:13 · 1426 阅读 · 0 评论