有如下程序段:
<br>
int i, n = 0;
float x = 1, y1 = 2.1 / 1.9, y2 = 1.9 / 2.1;
for ( i = 1; i < 22; i++ )
x = x * y1;
while ( x != 1.0 )
{
x = x * y2; n++;
}
printf( “ %d / n ”, n );
<br>
请问执行结果是:
发布于 2020-12-25 22:07:55
登录后免费查看答案
关注者
0
被浏览
92