Question: D) int a, b, c, sum, avg; a=2; b=4; c=6; sum = a+b+c; avg = a + b + c/3; cout

D) int a, b, c, sum, avg; a=2; b=4; c=6; sum = a+b+c; avg = a + b + c/3; cout <

D) int a, b, c, sum, avg; a=2; b=4; c=6; sum = a+b+c; avg = a + b + c/3; cout

Step by Step Solution

3.33 Rating (165 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

D Output The sum is 12 The average is 4 7C include using namespace std int main and Declare variable... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!