Write a small program that reads from the standard input one line at a time until the end of file. Every line contains a single integer number (use atoi to extract the number). The program prints the sum of all these numbers. You do not need to write any functions. A simple main program is enough.
Type your answer in the text window. Do not upload any file.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here