title: Write a program that prompts the user to input an integer and then outputs both the individual digits of the number and the sum of the digits
body: <p>For Example: Input: 982</p>
  
  <p>Outputs: 9 8 2 
  Your Total sum is: 19</p>
  
  <p>I see people using input_number % 10 in a loop and then input_number / 10 but I still do not get it. If i did 982 % 10 I would get 2 and then they add it to the sum which is 0 + 2 = 2 and how would that get 19???? and then the input number which is 982/10 is equal to 9.82 how does lead me to my solution of 19?? I am just super confused can someone please explain it to me and try to work out the problem and make it into a simple solution. I appreciate it and try to use the basic stuff like including namespace std and then not using arrays just loops and simple math equations thank you.</p>