摘要: 你只能增加或是修改其中一个字符,使其输出20个减号。请给出3种方案int n = 20 ;for(int i=0 ; i<n ; i--){printf("-");}自己想了下,然后总结了大概一下5中,做下记录。----------------i-- 改为n---i<ni+n|x| < ni++ 阅读全文
posted @ 2015-07-01 15:07 Prolovecui 阅读(255) 评论(0) 推荐(0) 编辑