Given a series of numbers as input, add them up until the input is 10 and print the total. Do not add the final 10. For example, if the following numbers are input 8 3 11 10 The output should be: 22 Hint: When you don't know the number of repetitions, always use while loop.

Relax

Respuesta :

Answer:

What programming language?

Explanation:

for a generic set of instructions:

get numbers

if not already in list of numbers, parse and convert into int/double list

use a for loop and add them into a variable

print the variable on screen