Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

Untitled

a guest Mar 13th, 2018 54 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. getPals(int n){
  2.  
  3.     for(int i = Math.pow(10,n); i > Math.pow(10,n-1);i--)
  4.     {
  5.         int rightSide = reverse(i);
  6.         int palindrome = i* Math.pow(10,n) + rightSide;
  7.        
  8.        
  9.     }
  10. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top