1. 题目
2. 答案
1 #include<iostream> 2 using namespace std; 3 4 int main() 5 { 6 char c; 7 cin >> c; 8 cout << " " << c << endl; 9 cout << " " << c << c << c << endl; 10 cout << c << c << c << c << c << endl; 11 cout << " " << c << c << c << endl; 12 cout << " " << c << endl; 13 return 0; 14 }
原文:http://www.cnblogs.com/zhangjiethu/p/5005224.html