034.程序流程结构-循环结构-for循环

#include <iostream>
using namespace std;
int main()
{
    //for循环
    //从数字0打印数字9
    for (int i = 0; i < 10; i++)
    {
        cout << i << endl;
    }
    system("pause");
    return 0;
}

 

posted @ 2021-09-04 09:04  梦之心  阅读(40)  评论(0编辑  收藏  举报