/*本周全力备战C++二级考试*/ #include<iostream> #include<iomanip> using namespace std; int main() {int j,k; char c='L'; cout<<"本周全力备战C++二级考试"<<endl; cout.fill('*'); cout<<setw(23)<<""<<endl; //cout<<endl; for(j=0;j<=11;j++) {for(k=1;k<=11-j;k++) cout<<" "; for(k=0;k<j+1;k++) cout.put(c-11+k); for(k=j-1;k>=0;k--) cout.put(c-11+k); cout<<endl; } cout<<"/n"; cout<<setw(23)<<""<<endl; cout<<"Monday,September 14,2009"<<endl; cout<<"Powered by £魔神翼♂"<<endl; return 0; }