3.三、3.4 for循環(單重循環、多重循環)

【重點】for(int i = 0; i < 26; i += 2)中的i只在這個for循環中起做用,當變量比較多時,適合用這種定義變量的方法。ios #include<iostream> #include<cstdio> using namespace std; int main() { int i = 5; for (int i = 0; i < 26; ++i) cout << ch
相關文章
相關標籤/搜索