利用巢狀迴圈,完成如下之畫面:
- #include<iostream>
- #include<cstdlib>
- using namespace std;
- int main()
- {
- for(______________)
- {
- cout<<i<<"隻青蛙"<<i<<"張嘴, "<<i*2<<"個眼睛"<<i*4<<"條腿, ";
- for(______________)
- cout<<"撲通~";
- cout<<"跳下水!"<<endl;
- }
- system("pause");
- return 0;
- }
複製代碼本帖隱藏的內容需要回復才可以瀏覽 |