本帖最後由 tonyh 於 2014-11-8 11:23 編輯
上底7 下底4 高4 之 * 號排列而成的倒梯形- #include<iostream>
- #include<cstdlib>
- using namespace std;
- int main()
- {
- for(______________)
- {
- for(______________)
- {
- cout<<" ";
- }
- for(______________)
- {
- cout<<"*";
- }
- cout<<endl;
- }
- system("pause");
- return 0;
- }
複製代碼本帖隱藏的內容需要回復才可以瀏覽 |