bool isIn(int arr[], int size, int value) {
for(int i = 0; i<size; ++i)
if(arr[i] == value)
return true;
return false;
}
Copyright © 2025 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
bool isIn(int arr[], int size, int value) {
for(int i = 0; i<size; ++i)
if(arr[i] == value)
return true;
return false;
}