for死循环了
题目要求是实现 PrintN() 函数,主函数里的内容不允许更改,只要写下面一段就可以了:
void PrintN(int N) { int i; for(i=1;i<=N;i++) printf("%d\n",i); }