COMP2113
COMP2113_ENGG1340 Programming technologies and Computer programming II [Section 2BC] [2023]
|
#include <iostream>
#include <iomanip>
Go to the source code of this file.
Functions | |
int | linearSearch (const int[], int, int) |
int | main () |
void | print_array (const int[], int) |
int linearSearch | ( | const int | array[], |
int | sizeOfArray, | ||
int | key ) |
Definition at line 50 of file search.cpp.
Referenced by main().
int main | ( | void | ) |
Definition at line 8 of file search.cpp.
References linearSearch(), and print_array().
void print_array | ( | const int | array[], |
int | sizeOfArray ) |
Definition at line 35 of file search.cpp.
Referenced by main().