//Microsoft (R) C/C++ Optimizing Compiler Version 19.00.23506 for x64
#include <stdio.h> #define SIZE 10
int main(void) { int arr[SIZE]; printf("Please, enter the num: "); for (int i = 0; i < SIZE; ++i) { scanf("%d", &arr[i]); } printf("Your array: \n"); for (int i = 0; i < SIZE; ++i) { printf("%d ", arr[i]); } }
#include <stdio.h>
#define SIZE 10
int main(void)
{
int arr[SIZE];
printf("Please, enter the num: ");
for (int i = 0; i < SIZE; ++i)
{
scanf("%d", &arr[i]);
}
printf("Your array: \n");
for (int i = 0; i < SIZE; ++i)
{
printf("%d ", arr[i]);
}
}