标签:des turn 最大值 == include auth 个数 version int
/*
============================================================================
Name : max.c
Author : duanqibo
Version :
Copyright : Your copyright notice
Description : 输入三个整数,找出最大值
============================================================================
*/
#include <stdio.h>
#include <stdlib.h>
int main(void)
{
int a,b,c;
int max;
setbuf(stdout,NULL);
printf("请输入三个整数:");
scanf("%d%d%d",&a,&b,&c);
if(a>b)
max=a;
else
max=b;
if(max>c)
printf("三个数中最大数是:%d",max);
else
printf("三个数中最大数是:%d",c);
return 1;
}
标签:des turn 最大值 == include auth 个数 version int
原文地址:https://www.cnblogs.com/duanqibo/p/11105142.html