0
How can I check if a number is in a array in cpp?
i in b[]
2 Réponses
+ 3
Loop through the array and use an if condition to compare values, or you could use std::find() from the algorithm library
+ 1
This will help you, analize and then change the array to a number array:
https://code.sololearn.com/cm3FpozqmoG6/?ref=app