Вы находитесь на странице: 1из 2

import java.io.

*; public class Palindrome { public static void main(String [] args){ try{ BufferedReader object = new BufferedReader( new InputStreamReader(System.in)); System.out.println("Enter number"); int num= Integer.parseInt(object.readLine()); int n = num; int rev=0; System.out.println("Number: "); System.out.println(" "+ num); for (int i=0; i<=num; i++){ int r=num%10; num=num/10; rev=rev*10+r; i=0; } System.out.println("After reversing the number: "+ " "); System.out.println(" "+ rev); if(n == rev){ System.out.print("Number is palindrome!"); } else{ System.out.println("Number is not palindrome!"); } } catch(Exception e){ System.out.println("Out of range!"); } }

card number : 4266841232558997 card number : Donna Dean Thompson Expiration Date :08/13 CVV : 781

http://www.scribd.com/doc/37883801/Unit-Dimensions-and-Measurement-Practice-Prob lem-by-ANURAG-TYAGI-CLASSES-FOR-IIT-AIEEE-PMT-NTSE http://www.scribd.com/doc/56931585/30618 902-Kinematics

Ques:

Progressions: 1. 1^2-2^2+3^2-4^2.........inf. is ? 2. 5/1^2.4^2 + 11/4^2.7^2 + 17/7^2.10^2 ......inf. is ? Quadratic Equations. (5/7)^x =-x^2+2x-3 find the nu. of real sol. Binomial: 1.find the co-efficient of x^n in : 1/(1-ax)(1-bx) 2.(2+5x+ax^3)[(3/2x^2-1/3x)^9] = 1 , a = ? 3. [x+(x^3 - 1)^1/2]^5 + [x-(x^3 - 1)^1/2]^5

Вам также может понравиться