int arr[10] = { 0 };
for (int i = 0; i < 10; i++)
{
printf("input pos is %d : ", i + 1);
scanf("%d", &arr[i]);
}
for (int i = 0; i < 10; i++)
{
printf("%-4d", arr[i]);
}
printf("\n");
int arr[10] = { 0 };
for (int i = 0; i < 10; i++)
{
printf("input pos is %d : ", i + 1);
scanf("%d", &arr[i]);
}
for (int i = 0; i < 10; i++)
{
printf("%-4d", arr[i]);
}
printf("\n");