摘要:
循环结构 While循环 格式: while(循环条件){ 循环体语句(被重复执行的代码); 迭代语句; } public class WhileDemo1 { public static void main(String[] args) { //输出1~5 int i =0; while(i<5) 阅读全文
摘要:
运算符 算术运算符 算术运算符:+,-,*,/,%,++,-- public class Demo5 { public static void main(String[] args) { //二元运算符 +,-,*,/,% int a = 12; int b = 14; int c = 45; 阅读全文