Salut..i was wondering how to use a loop in order to store values every time. For instance i have this code:
const int max=5;
when user type something(num or string), then i want the first element of the array to become 1 etc..and when user type the same thing the second element become 1...etc
how to do that?