9_8.cpp

来自「C程序参考,简单易懂,是初学者不可少的参考资料」· C++ 代码 · 共 10 行

CPP
10
字号
#include<stdio.h>
#define MAX3(x,y,z) (x>y?x:y)>z?(x>y?x:y):z
 main()
 {
     int a,b,c,max;
     printf("Please input three integers:\n");
     scanf("%d,%d,%d",&a,&b,&c);
     max=MAX3(a,b,c);
     printf("the maximun of the three integers is: %d\n",max);
 }

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?