基本语法:
循环变量初始化;
while(循环条件){
循环体(语句); 循环变量迭代;
}
while循环和for循环一样有四要素;只是四要素放的位置和for不一样。
posted on 2022-01-24 14:00 轻信 阅读(33) 评论(0) 收藏 举报