tea wrote:i use:
printf("%5d -> %d\n",input_value,last_digit);
to do the output.
why i have PE in this question?
any problem with that?
try
printf("%d -> %d\n",input_value,last_digit);
%d -> not %5d ->
![:wink:](./images/smilies/icon_wink.gif)
tea wrote:i use:
printf("%5d -> %d\n",input_value,last_digit);
to do the output.
why i have PE in this question?
any problem with that?