If i\'m giving values like a=1234, i want to print last two digits 34 only.. can anyone give me solution for this...
int a=1234; System.out.print(a);
number % 100 will result in last 2 digit
number % 100
See