Programming and Computational Thinking Homework 3 National Chi Nan University

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

Programming and Computational Thinking

Homework 3
National Chi Nan University

Problem Description
Input several numbers and output their sum. Notice that you SHOULD press Ctrl-Z
in Windows and Ctrl-D in Unix when the input ends.

Sample Input Sample Output


123 6

Sample Input Sample Output


25724 20

Sample Input Sample Output


0

Sample Input Sample Output


23 9
4

You might also like