You are viewing a single comment's thread. Return to all comments →
Why can't this pass??
int main() { int val; int sum; sum = 0; for(int i = 0 ; i < 3; i++ ) { cout<<"enter a value to be added : "<<endl; cin>> val ; sum +=val; } cout << "The sum is "<< sum; return 0; }
Input and Output
You are viewing a single comment's thread. Return to all comments →
Why can't this pass??