#include "stdio.h"
//输入十个数,输出最大者
void main()
{
int Max,temp;
printf("Please input a integer: ");
scanf("%d",&temp);
Max=temp;
for(int i=0; i<9; i++)//每次输入新值,并与原Max比较,较大者为Max新值
{
scanf("%d",&temp);
if(temp>=Max)
{
Max = temp;
}
printf("The bigger integer: %d/n", Max);
}
printf("***The MAX INTEGER IS: %d***/n", Max);
}