用vs2013编写出错?哪里出错呢?
1.IntelliSense: 未定义标识符 "lf" 2.IntelliSense: 应输入一个语句#include<stdio.h>#include<math.h>
int max(int a, int b);
int main()
{
intx, y, z;
int max(int a, int b);
printf("input two number:\n");
scanf_s("%d%d", &x, &y);
z = max(x, y);
printf("maxmum=%d", z);
}
int max(int a, int b)
{
lf(a > b); return a; else return b;
}
……
大爷,人都说的很清楚,你这If有问题,i大写了!
页:
[1]