23 lines
301 B
C++
23 lines
301 B
C++
#include "LinearSearch.h"
|
|
#include <iostream>
|
|
|
|
using namespace std;
|
|
|
|
#define MAX_SIZE 100
|
|
|
|
int main()
|
|
{
|
|
int a[MAX_SIZE];
|
|
int size_ref = 0;
|
|
|
|
Print(a, size_ref);
|
|
cout << endl;
|
|
|
|
cout << "\tFill:" << endl;
|
|
Read(a, size_ref, MAX_SIZE);
|
|
|
|
cout << endl;
|
|
Print(a, size_ref);
|
|
}
|
|
|