标签:c
//输入两个数 输出最大值 #include <stdio.h> int main(int argc, const char * argv[]) { int a,b,tmp; printf("请输入两个数字:\n"); scanf("%d %d",&a,&b); if(b>a){ tmp = b; b = a; a = tmp; } printf("最大值是:%d\n",a); return 0; }
标签:c
原文地址:http://13413367.blog.51cto.com/13403367/1973882