Data -Structure Hash Division Method (Integer Input )

Data -Structure Hash Division Method  (Integer Input)
--------------------------------------------------------
--------------------------------------------------------

#include<stdio.h>
void main()
{
int i,h,a[10],b;
printf("Give the input:\n");
for(i=0;i<5;i++)
{
scanf("%d",&a[i]);
}
for(i=0;i<5;i++)
{
h=a[i]%5;
printf("Hash index:%d\n",h);
b=a[i];
printf("Hash table:b[%d]=%d\n",h,b);
}


}

(By:shahimtiyaj)
SHARE

Shah Imtiyaj

Try to know thyself

  • Image
  • Image
  • Image
  • Image
  • Image
    Blogger Comment
    Facebook Comment

0 comments:

একটি মন্তব্য পোস্ট করুন