试题与答案

设变量x为float型且已赋值,则以下语句中能将x中的数值保留到小数点后两位,并将第

题型:单项选择题

题目:

设变量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;

答案:

被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2017/1228/58191d66344cdd0f9cf100bbe06c4bb6.html

下面是错误答案,用来干扰机器的。

参考答案:A,B,C,E解析: 根据有关法律规定,评标原则可以概括为4个方面: (1)公平、公正、科学、择优; (2)严格保密; (3)独立评审; (4)严格遵守评标方法。

试题推荐
题型:完形填空
My sister and I have been a headache for my mother, because my father was in the army, he was not around too often. __21__, my mother brought us up almost single-handedly and it must have __22__ real strength of mind to bring up such naughty and stubborn children who got out from one trouble only to get into another.
Bonus and I weren’t scholars either. __23__, we hated studying from the very beginning. We were __24__ to spend time with our schoolbooks---out of the fear of Mum’s scolding. I almost did not make it to 10th grade. That entire summer Mum __25__ that I read my schoolbooks from the very first chapter till the last.
I left __26__ college at 18. In my second year of college, while I was studying for my final exams, I got a phone call from Mum __27__ my sister had failed her 9th grade exams. Mum was heartbroken. My mother was an English teacher in a famous school in the city and it was a(n) __28__ for her.
Then started another __29__ for my Mum. There always seemed to be people who would come and talk about how well their children were doing __30__ my mother would be having a tough time making sure we stayed on the right path. Mum was __31__ that we would do well for ourselves. She never let my sister and me __32__ that we had lost out on something and always told us: “Let this be a lesson. We are going to work really really hard...__33__ will change.”
Things did change, but very slowly and __34__, one little step at a time. Last year I finished with law school and started working. My mother’s belief in me __35__. And just a few days ago I got a phone from Bonus. She had __36__ the exam with honors and was __37__ to the best university in the country. I was in tears. Later that night I __38__ Mum: “Mum, your two little failures didn’t do as badly as everybody thought.” Mum __39__ and said: “You are my daughters and I knew you the best. I always knew that you would succeed. It was just a __40__ of time.”
小题1:
A.HoweverB.ThusC.OtherwiseD.Besides
小题2:
A.devotedB.spentC.takenD.wasted
小题3:
A.In that caseB.In this wayC.On the other handD.On the contrary
小题4:
A.pleasedB.annoyedC.forcedD.advised
小题5:
A.demandedB.concludedC.promisedD.mentioned
小题6:
A.atB.forC.fromD.after
小题7:
A.announcingB.readingC.knowingD.saying
小题8:
A.shameB.challengeC.prideD.honor
小题9:
A.experimentB.researchC.conflictD.trial
小题10:
A.thoughB.whileC.asD.unless
小题11:
A.determinedB.astonishedC.satisfiedD.concerned
小题12:
A.predictB.imagineC.guessD.feel
小题13:
A.EnvironmentB.SocietyC.CircumstancesD.Impressions
小题14:
A.quicklyB.extremelyC.smoothlyD.gradually
小题15:
A.made upB.paid offC.took onD.burst out
小题16:
A.attendedB.receivedC.passedD.failed
小题17:
A.acceptedB.allowedC.admittedD.permitted
小题18:
A.questionedB.convincedC.persuadedD.called
小题19:
A.noddedB.laughedC.shoutedD.joked
小题20:
A.matterB.periodC.wasteD.length
查看答案
微信公众账号搜索答案