somebody can help me? Why are you using a[0]++; at line 10?
Conditions with random numbersAs koothkeeper said first you must convert the string to a integer Try with the stoi function on str...
This user does not accept Private Messages