编辑代码

#include <stdio.h>
{
    void PrintN(int N)
    {
        int i;
        for(i=1;i<=N;i++)
        {
            printf("%d/n",i);
        }
        return;
    }
}