/*
 ============================================================================
 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;
}