Lets first figure out the logic of getting digits of a number, once we get the digit we can count them and also find addition. suppose we have a digit= 543374. lets figure out it as; Step 1: reminder = 543374%10 = 4 digit =543374/10 =54337 (1 digit) Step […]