正在加载图片...
预处理命令(程序二) #include <stdio. h> ●# include< stdlib. h> #define max(a, b)a>b?a: b main int x,y, result printf("please input two numbers: In scan] f (%od%", &x, &y) result=max(x, y) printf("the max number is: %03dn" result) system("pause")预处理命令(程序二) #include <stdio.h> #include <stdlib.h> #define max(a,b) a>b?a:b main() { int x,y,result; printf("please input two numbers:\n"); scanf("%d%d",&x,&y); result=max(x,y); printf("the max number is :%3d\n",result); system("pause"); }
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有