Question: 1 Purpose Your task is to write a C++ program which gets some input from the user, adds the values, and outputs the simple sum.
1 Purpose
Your task is to write a C++ program which gets some input from the user, adds the values, and outputs the simple sum.
2 Procedure
1. Your program should prompt the user for four integers.
2. It should read the four values, for example c, d, e, and f. then compute the sum, c+d+e+f. Remember that the variables should not normally be single letters.
3. The program then displays the result, something like The sum of 4, -34, 9, and 14 is -7
4. You may assume that the user is skilled at data entry (only numeric values, no decimal points or commas or other strange punctuation).
This is my first time working with C++ and am very lost.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
