implement this fucntion
void InsertAfterPrime(int a[ ],int n,int *count,int item)
/* This function will implement after a number is considered as a prime.It means that it will insert a number after prime.Here you can see a program that will identify if a number is a prime
int IsPrime(int x)
{
if(x==1 || x==2 || x==3 || x=5 || x=7)
printf("\n prime");
else
if(x%2%26lt;1)
printf("\n not prime");
else
if(x%5%26lt;1)
printf("\n not prime");
else
if(x%7%26lt;1)
printf("\n not prime");
else
printf("\nprime") */
int Delete(int a[ ],int *count,int item)
/*This will delete a number in any item you want remove*/
And please can you a main for me to call this function....thank you
Can you answer this problem in C language?
Yes I can answer it.
Reply:u have to remove duplicates i guess so
Reply:Yes.
pokemon cards
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment