You are on page 1of 1

P(123) P(12) p(12) p(1) P(1) P(0)

if(x!=0) p(x/10);

cout<<x%10;

You might also like