#include<stdio.h>
int main()
{int a,b,c,max; //它为什么放在大括号那一行//
printf("please input a,b,c:\n");
scanf("%d%d%d",&a,&b,&c);
max=a;
if(max<b) //它为什么没有分号结束//
max=b;
if(max<c)
max=c;
printf("The largest number is %d\n",max); //%是什么意思/n是什么意思//
return 0;
}
还有整个程序没有赋予值。
书本上却说运行结果please input a,b,c:18,-43,34
The largest number is 34这又是什么意思?
是不是我的编译器有问题?我使用的是aha-C编译器的不同导致编译结果不同吗如果是希望给个使用的给我谢谢,加上链接地址最好 呵呵。
新手求见量问题有点多希望大虾耐心为这题解答不胜感激!!!!!! |