第39387题 判断题
小杨这学期准备参加 GESP 的 7 级考试,其中有关于三角函数的内容,他能够通过下面的代码找到结束循环的角度值。( )
int main()
{
    double x;

    do{
        cin >> x;
        x=x/180*3.14;
    }while(int(sin(x)*sin(x)+cos(x)*cos(x)) == 1);
    cout << "//" << sin(x) << "  " << cos(x);

    cout << endl;
    return 0;
}
{{ option.label }}
子题{{ index + 1 }} {{ child.type_label }}
{{ option.label }}
✓ 正确 ◐ 部分正确 ✗ 错误
程序运行统计
暂无判题统计
知识点:
提交{{ questionInfo.stats ? questionInfo.stats.submit_count : 0 }}次 正确率{{ statsAccuracy }}%
答案解析