Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

2.

8 (expression)

2.6 a2+2ab+b2 a=2, b=3



a*a+2 *a *b+b*b .. 1
pow(a,2) + 2 *a *b + pow(b,2) 2
pow(x,y)
x
y
pow(x,y) xy pow(a,2) a2 pow(b,2) b2
pow(x,y) #include<math.h>
math.h C
pow(x,y)
2.7
1) a+b*10+(3*c)*8 /* */
2) (m>=n)&&(x<y) /* */
3) !(k==25)
/* */
4) !(p)
/* */
5) (i>10)||(j<5) /* */
6) if (y==z)
/* */
2.8 C
int x=5, y=8, z=9;
1) x+(y*z)
77
2) x+y*z+x*3 92

You might also like