Ask your own question, for FREE!
Computer Science 6 Online
OpenStudy (anonymous):

write Algorith step to sum of a 3 digit numbersfind sum

OpenStudy (mandre):

Output("Enter a 3-digit number") Input(number) a = mod(number, 10) b = mod(number/10, 10) c = mod(number/100, 10) // if number = 321, then a = 1, b = 2 and c = 3 sum = a+b+c Output ("The sum of the digits of ", number, " = ", sum)

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!