I do have a method to do that Addition(). I want it to print the index at 0 first then print the rest of the indexes. Which the Addition methods does, except it only returns the last value.
Type: Posts; User: mwr76
I do have a method to do that Addition(). I want it to print the index at 0 first then print the rest of the indexes. Which the Addition methods does, except it only returns the last value.
I am trying to write a program that takes an int as input. Then it prints out the number with spaces and the sum. Example:
input: 123
output: 1 2 3 The sum is: 6
here is the output I am...