number of times repeated number
#include<stdio.h>
int main(void){
int i,x,tab[x],n,y;
printf("how long do you want your table :");
scanf("%d",&x);
for(i=0;i<x;i++){
printf("enter the %d number :",i+1);
scanf("%d",&tab[i]);
}
printf("enter your number :");
scanf("%d",&n);
y=0;
for(i=0;i<x;i++){
if (tab[i]==n){
y++;
}
}
printf("The number %d is repeated %d times",n,y);
return 0;
}