1、在程序最上面加上请求头#include<stdio.h>2、main方法没有定义返回类型void main()
程序最开头加上这个,不然不识别你的scanf 和printf
#include<stdio.h>