bool LinearSearch(dataType array[], dataType key, int size) {
int i;
bool found;
i = 0;
found = false;
while(!found && i < size) {
if (array[i] == key) {
found = true;
} else {
i++;
}
}
return found;
}