your code is saying every time it is in the for loop check the array element and print if the item is found or not so its going to print 4 times... u should make a method that returns true if the...
Type: Posts; User: C++kingKnowledge
your code is saying every time it is in the for loop check the array element and print if the item is found or not so its going to print 4 times... u should make a method that returns true if the...