+ 3

How do input values of an array?

is there a format or syntax on how a user should input an array?

30th Jun 2017, 9:11 PM
RKJ đŸŒč
RKJ đŸŒč - avatar
2 Answers
+ 5
cin >> array[index]; index being whatever index of the array you want the. value of the input to be stored in.
30th Jun 2017, 9:45 PM
Rrestoring faith
Rrestoring faith - avatar
+ 2
Thank you!
1st Jul 2017, 12:29 AM
RKJ đŸŒč
RKJ đŸŒč - avatar