for迴圈基本宣告方式
#include <iostream>using namespace std;int main() { for(int a=0;a<5;a++) { cout << a; } return 0;}
01234