define _CRT_SECURE_NO_WARNINGS
#include
#include
#include
#include
#define SIZE 10
int main()
{
int arr[SIZE];
for (int i = 0; i < SIZE; i++)
{
scanf(“%d”, &arr[i]);
}
int max = 0;
for (int i = 0; i < SIZE; i++)
{
if (max <= arr[i]) {
max = arr[i];
}
else
{
continue;
}
}
printf(“最大数是:%d”, max);
return 0;
}