为什么检查没有错误而输出结果有误,求大神指点,谢谢!
#include<stdio.h>void main()
{
float a,b,c;
printf("please input two number!\n");
scanf("%f %f",&a,&b);
if (a>b)
{
c=a;
a=b;
b=a;
}
printf("The max number is %f\n",&a);
printf("The min number is %f\n",&b);
}
有图有真相