Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

很简单的C语言程序,但因我是新手,请热心朋友帮忙!!

Posted by htring at 2007-04-08 22:36:01
编写一个程序,在屏幕上输出如下信息?
* * * * * * * * * *
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:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator