Evaluate the C++ expressions.
int a=5, b=7, c;
c=a*a+b*b;
Answers
Answered by
1
Here it is given that a=5 and b=7
so according to our question
c=5×5+7×7
c= 25+49
c=74
Hope it helps mark as brainlist
so according to our question
c=5×5+7×7
c= 25+49
c=74
Hope it helps mark as brainlist
nsopagu:
thanks
Answered by
1
The given C++ expression is int a=5, b=7, c; c=a*a+b*b;
The valuable of a and b is 5 and 7 respectively.
When we substitute the values, we can get the expression which is given below.
Sol c = 5*5+7*7
C = 74.
Hence, the answer to this given C++ expression is 74.
It is important to substitute the values properly before entering the calculations.
Similar questions
Chemistry,
7 months ago
Math,
7 months ago
Math,
7 months ago
Math,
1 year ago
Business Studies,
1 year ago
English,
1 year ago
Business Studies,
1 year ago