编辑代码

void PrintN(int N)
{
    int i;
    for(i=1;i<=N;i++)
    {
        printf("%d/n",i);
    }
    return;
}