| ||||||||||
| Online Judge | Problem Set | Authors | Online Contests | User | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest | |||||||||
很简单的C语言程序,但因我是新手,请热心朋友帮忙!!编写一个程序,在屏幕上输出如下信息?
* * * * * * * * * *
Nanchang Jiangxi
* * * * * * * * *
本人只能编写出Nanchang Jiangxi,请教如何能输出*符号,谢谢.
附编程:
#include”stdio.h”
void main() {
int I;
char ch[16]={‘N’,’a’,’n’,’c’,’h’,’a’,’n’,’g’,’,’J’,’i’,’a’,’n’,’g’,’x’,’i’,’!’};
for(I=0;I<16;I++)
print(“%c”,ch[I]);
printf(“\n”);
}
Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator