Object: Write a program that takes numbers as input and returns the result with all the duplicate numbers removed For example, if the input Array is {0, 1, 2, 2, 3, 4, 5, 6, 8, 8, 9, 1, 2}, the output will be {0,1, 2, 3, 4, 5, 6, 8, 9}.


void main()
int i, j, k, n, num[100];
cout<<“How many Numbers Your Enter?\n”; cin>>n;
cout << “Enter Any “<> num[i];
}….Continue code….

Linear Search Algorithm Source Code in C++

Linear search is what does one thinks is that the importance of inquiry searches in C++ are of two types one may be a linear search and therefore the other may be a binary search we study linear search. Linear look for an easy example


#include <iostream>
#include <conio.h>

using namespace std;

void main()
int arr[100];
int key, ar_value, i;
int found = -1;….continue here….


Your favorite source for all things Coding.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store