- 博客(7)
- 收藏
- 关注
原创 Day3(练习题)
int a=1;int b=0;b+=a;a++;int a=1;int b=0;if (a%2!=0){b+=a;a++;int a=1;int b=0;b+=a;a++;int a=10;a++;int a=1;int b=0;int c=0;if (a%2!=0){b+=a;}else {c+=a;a++;int a=1;int b=0;b++;a++;int a=1;int b=0;b++;a++;
2023-10-20 11:20:20
73
1
原创 Day02(2)
}else{}2.3 if else if else 多重if结构,适用于多分支 2.4 switch switch( ){ case ; break; //跳出switch }
2023-10-20 09:40:29
68
1
原创 【无标题】Day02
System.out.println("三个整数和为:" + (a + b + c));System.out.println("圆的面积为"+(a*a*3.14));System.out.println("标准体重为"+(a+b)/2);System.out.println("面积为"+(a*b));System.out.println("请输入二个整数:");System.out.println("请输入三个整数:");System.out.println("请输入三个整数:");
2023-10-19 19:38:46
62
原创 Day01
1.类 public class 类名2.主函数 main方法1.机器语言 01012.汇编语言 apple3.高级语言 代码数据类型一、8大基本数据类型。
2023-10-19 10:49:27
80
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅