06 Langs
06 Langs
#include <iostream>
main() {
int num, sum = 0;
Brendan Eich
1961-
Python (1990)
sum = 0
num = input()
while num != '0':
sum = sum + int(num)
num = input()
print(sum)