+ 1
am i able to input a lot of integers derectly in an array?
i want to be able to create your own list by inputting 20 numbers, make an array of them and than output them.
1 Réponse
+ 3
int arr[20];
for (int i = 0; i < 20; i++)
std::cin >> arr[i];