write a c program that if the given number is prime, and
their rearrangement(permute) of that number is also prime.
Ex: Input is "197" is prime
Output: 791,917,179 is also prime.
Please any one tell me tha code for that
Answer Posted / sowmya
hello Sir,
If you dont mind, could you exlain that above code
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
`write a program to display the recomended action depends on a color of trafic light using nested if statments
How can I write data files which can be read on other machines with different word size, byte order, or floating point formats?
what is diffrence between linear and binary search in array respect to operators?what kind of operator can be used in both seach methods?
What is an operator?
Explain how can I convert a number to a string?
Compare and contrast compilers from interpreters.
What are the types of bitwise operator?
while initialization of array why we use a[][2] why not a[2][]...?
What is this infamous null pointer, anyway?
Explain how does free() know explain how much memory to release?
Why do some versions of toupper act strangely if given an upper-case letter?
pgm to find number of words starting with capital letters in a file(additional memory usage not allowed)(if a word starting with capital also next letter in word is capital cann't be counted twice)
What do you mean by a local block?
What does the c in ctime mean?
How many header files are in c?