Professional Documents
Culture Documents
h>
#include <conio.h>
void main()
{
int i, n, a[50], occur[50], search, found;
found = 0;
if(found > 0)
{
printf("\n%d has occured %d times at positons ", search, found);
else
{
printf("\n%d was not found in the array!", search);
}
getch();
}