首页 > 编程语言 > 详细

c++学习12 -- for循环

时间:2018-04-28 12:31:21      阅读:164      评论:0      收藏:0      [点我收藏+]
#include <iostream>
using namespace std;

int main()
{
    int i = 0;
    for(i = 0;i<5;i++)
    {
        cout << i << endl;
    }

    system("pause");
    return 0;
}

 

c++学习12 -- for循环

原文:https://www.cnblogs.com/mohu/p/8966607.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!