编辑代码

#include <stdio.h>
void park()
{
    static int count=30;
    count=count-1;
    printf("The remaing numbei of parking space:%d\n",count);
}
int main()
{
    park();
    park();
    park();
    park();
    return 0;
}