) s=s+1/n; printf("%6.4f\n",s); } 程序运行后输出结果错误,导致错误结果的程序行是 。
A. s=1.0;
B. for(n=10;n>1;n--)
C. s=s+1/n;
D. printf("%6.4f\n",s);
点击查看答案
A. Why do you say that B. You can go to parties now C. Congratulations D. of course it isn’t E. Would you like to change places with me F. but I don’t have a job G. stayed up late H. Don’t complain Angle: (56) on your new job, Chris! Chris: Thanks, Angie. To tell you the truth, I’m not so sure I like working. Angle: (57) East year you wanted to get out of university! Chris: I know, but that was last year. Now, it’s just work, work, work. I work hard all day, every day. Angie: Oh, come on. (58) You’re making a good salary now. Last year, you didn’t make anything. Chris: Right. Now, I have money, a nice apartment and a car. BUT I don’t have any time to enjoy it all. Angie: It can’t be all that bad. Chris: No, (59) I still have my weekends. Angle: So tell me, what do you miss about university Chris: I used to go to parties, I (60) talking with friends...
A. Why do you say that
B. You can go to parties now
C. Congratulations
D. of course it isn’t
E. Would you like to change places with me
F. but I don’t have a job
G. stayed up late
H. Don’t complain
Angle: (56) on your new job, Chris!
Chris: Thanks, Angie. To tell you the truth, I’m not so sure I like working.
Angle: (57) East year you wanted to get out of university!
Chris: I know, but that was last year. Now, it’s just work, work, work. I work hard all day, every day.
Angie: Oh, come on. (58) You’re making a good salary now. Last year, you didn’t make anything.
Chris: Right. Now, I have money, a nice apartment and a car. BUT I don’t have any time to enjoy it all.
Angie: It can’t be all that bad.
Chris: No, (59) I still have my weekends.
Angle: So tell me, what do you miss about university
Chris: I used to go to parties, I (60) talking with friends...
点击查看答案