Visual Studio2015 为什么运行C语言这个程序无法运行?

2025-03-12 22:39:00
推荐回答(1个)
回答1:

#include "stdafx.h"
#include
int main()
{
int a, b, c;
scanf_s("%d %d %d", &a, &b, &c);
if (a < b)
a = b;
if (a < c)
a = c;
printf("%d", a);
system("pause");//因为程序运行太快关闭了,加这个暂停一下
return 0
}