You are viewing a single comment's thread. Return to all comments →
#include<iostream> int main() { int temp, temp2=0; while(std::cin>>temp) { temp2+=temp; } std::cout<<temp2; return0; }
Input and Output
You are viewing a single comment's thread. Return to all comments →