Declare 3 integer variables and an int array of size 3
Read the 3 variables
Assign each elements of the array by assigning one of the variables to each of the array elements on by one
Add the elements of the array
Cout the elements of the array
Cout the sum(declare this variable).