public class For3{public static void main(String[] args){//循环的初始化条件,循环条件,循环迭代语句都在下面一行\x05for(int count=0;count

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/15 16:16:27
public class For3{public static void main(String[] args){//循环的初始化条件,循环条件,循环迭代语句都在下面一行\x05for(int count=0;count

public class For3{public static void main(String[] args){//循环的初始化条件,循环条件,循环迭代语句都在下面一行\x05for(int count=0;count
public class For3
{
public static void main(String[] args)
{
//循环的初始化条件,循环条件,循环迭代语句都在下面一行
\x05for(int count=0;count

public class For3{public static void main(String[] args){//循环的初始化条件,循环条件,循环迭代语句都在下面一行\x05for(int count=0;count
count*=0.1 => count=count*0.1就是把原值乘以0.1赋值给变量

count=0.1*count 跟count+=0.1差不多的意思