Program assistance please

Im going to ask for 3 numbers. I take those numbers as num1, num2, num3. Add those numbers and then for the
row1 = (num1 + num2 + num3);
cout<< |num1| num2| num 3|;
cout << row1;

Will this make the output appear as: 1|2|3| 6.
Or will I need to cout each num: cout << num1 |
cout << num2 |
cout << num3 |
cout << row1

Last edited on
This is not a homework service. Come up with a specific question or just don't post at all.
Topic archived. No new replies allowed.