Files
cpp-daniel-linearsearch/main.cpp
2020-12-07 10:00:18 +01:00

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);
}