Evaluate the following c++ expressions (i) int a=5,b=7, c; c=a* a+b* b;
(ii) intl=10,j=20,k; k=(I+j)/3;
Answers
Answered by
6
(i) int a = 5, b = 7,c ;
c = 5*5+7*7
c = 74
(ii)int l = 10, j = 20,k;
k = (10+20)/3 = 10
Similar questions