#include<iostream>
unsigned int reverse(unsigned int num, unsigned int base=10)
{
unsigned int rev=0;
while( num )
{
rev*=base;
rev+=num%base;
num/=base;
}
return( rev );
}
int main()
{
std::cout<<"Palindromic numbers from 10 to 1000\n"<<std::endl;
for( unsigned int num=10; num<=1000; ++num)
if( num==reverse(num))
std::cout<<num<<std::endl;
}
JAVA
To write a C++ program to display the student details using class and array of object.
You don't have to write palindrome programs in wikipedia.
The generation of palindromic numbers within a given range is best done with a computer program. Space it limited so an example of program code cannot be shown here, but the Codecast website gives full guidance.
PRINT 2,3,5,7,11,13,17,19,23,29,31,37
please somebody should help me answer this question..I have a project on it even! It seems almost impossible at the moment.
JAVA
To write a C++ program to display the student details using class and array of object.
You don't have to write palindrome programs in wikipedia.
The generation of palindromic numbers within a given range is best done with a computer program. Space it limited so an example of program code cannot be shown here, but the Codecast website gives full guidance.
By learning how to program on C+.
PRINT 2,3,5,7,11,13,17,19,23,29,31,37
You can do this: <?php if ( $word === strrev( $word ) ) { echo "The word is a palindrome"; } else { echo "The word is not a palindrome"; }
you do this 10 print "0112358132134" use the whole of the thing
906609=913*993 I found this using a relatively simple computer program that I wrote.
VBnet program to find the prime numbers between 100 to 200?
what ever you assume