c++学习12 -- for循环
#include <iostream> using namespace std; int main() { int i = 0; for(i = 0;i<5;i++) { cout << i << endl; } system("pause"); return 0; }
posted on 2018-04-28 11:26 theslowman 阅读(167) 评论(0) 编辑 收藏 举报
#include <iostream> using namespace std; int main() { int i = 0; for(i = 0;i<5;i++) { cout << i << endl; } system("pause"); return 0; }
posted on 2018-04-28 11:26 theslowman 阅读(167) 评论(0) 编辑 收藏 举报