Skip to content
C

Running Total

Easyjava

Start with an initial value in a total variable, then add three more numbers to it one by one. Print the final value of total.

Input: four integers separated by whitespace — the starting value, then three numbers to add.

Output: one line — the final total.

Input (stdin)

Output

Run your code to see output here...