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 }
时间: 2024-10-13 12:24:48