单选题:设变量x为float型且已赋值,则以下语句中能将x中的数值保留到小数点后两位,并将第三位四舍五入的是( ) 题目分类:C语言 题目类型:单选题 号外号外:注册会员即送体验阅读点! 题目内容: 设变量x为float型且已赋值,则以下语句中能将x中的数值保留到小数点后两位,并将第三位四舍五入的是( ) A.x=x*100+0.5/100.0; B.x=(x*100+0.5)/100.0; C.x=(int)(x*100+0.5)/100.0; D.x=(x/100+0.5)*100.0; 参考答案: 答案解析:
All the participants were from the state of California. All the participants were from the state of California.A.Right B.Wrong C.Not men 分类:C语言 题型:单选题 查看答案
Thepolicemanwrotedownalltheparticularsoftheaccident. Thepolicemanwrotedownalltheparticularsoftheaccident.A.secrets B.details C.benefi 分类:C语言 题型:单选题 查看答案
40,3,35,6,30,9,( ),12,20,( ) 40,3,35,6,30,9,( ),12,20,( )A.15;25 B.18;25 C.25;15 D.25;18 分类:C语言 题型:单选题 查看答案