Computer Science, asked by nehashenoy31, 1 year ago

write java statement to extract only last two digits from a four-digit number

Answers

Answered by DiyaTripathy
1

int n=d%10; //last number

int a=d/10;

int b=a%10;

Similar questions