摘要:
c++ for(int i = 0; i < 10; i++) { for(int j = 0; j < 19-i; j++) { if (j < i) { cout << " "; //System.out.print(" "); } else { //if (j < 19 - 2i){ cout << "M"; //System.out.print("M"); } } cout << "\n"; }打印结果:MMMMMMMMMMMM 阅读全文
posted @ 2013-05-08 10:57
snowdrop
阅读(278)
评论(0)
推荐(0)
浙公网安备 33010602011771号