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
Step by Step Solution
3.33 Rating (165 Votes )
There are 3 Steps involved in it
D Output The sum is 12 The average is 4 7C include using namespace std int main and Declare variable... View full answer
Get step-by-step solutions from verified subject matter experts
