以下函数用以求X的y次方。请填空。doublefun(doublex,inty){inti;doublez=1.0;for(i=1;i____;i++)z=____;rettlrnz;}
<=y;z*x;x的y次方即为y个x相乘,所以for循环要执行y次,循环体中的操作应为x与z相乘。
扫描二维码免费使用微信小程序搜题/刷题/查看解析。
版权声明:本文由翰林刷题小程序授权发布,如需转载请注明出处。
本文链接:https://doc.20230611.cn/post/442155.html
上一篇:(1)Fifty years ago, baby boomers and their parents suffered through what was ubiquitously understood as "the generation gap", or the inability for different generations to speak clearly with one another.(2)A new national poll of Americans betwe
下一篇:I often heard him____ that his family was well descended.