for循环计算x的y次方

下面函数用来计算x的y次方,其中y为整型变量且y≥0
float power(float x,int y)
{ float z;
for ( z=1;y>0;y ① 1 )
z ② x;
return(z);
}
①( ) ②( )

1、-=
2、*=