030.程序流程结构-循环结构-while语句
时间:2021-09-06 05:43:22
收藏:0
阅读:14
#include <iostream> using namespace std; int main() { //while语句 //屏幕打印0-9,这10个数字 //避免死循环 int i = 0; while (i<10) { cout << i<< endl; i++; } system("pause"); return 0; }
原文:https://www.cnblogs.com/ceovs/p/15225737.html
评论(0)