下面Applet程序的功能是统计在平面坐标系第一象限中,半径大于9,小于10的圆环中坐标值为整数的点有多少并且给出其坐标值。请改正程序中的错误(有下画线的语句),使程序执行后,能得到预期的结果。 import java.awt.*; import java.applet.*; /* <applet code=Di9Ti width=200 height=100> </applet> */ public class Di9Ti extends Applet { public void paint(Graphics g) { int x,y,r1=5,r2=4; int count=0; for(x=1;x<y;x++) { for(y=1;y<r1;y) { if(x*x+y*y<=r2*r2||x*x+y*y>=r1*r1) break; g.drawStdng("x="+x+"y="+y,20+count*80,20); count++; } } g.drawString("count="+count,20,40); } } ex11_3.html: <html> <head> <title>A Simple Program</title> </head> <body> <applet code="Di9Ti.class"width=800 height=400> </applet> </body> </html>
查看答案
严重脱水的病人可发生
A. 感染性休克
B. 过敏性休克
C. 心源性休克
D. 低血容量性休克
E. 神经源性休克
Library classification system permit users to _________________ or to discover what books on a particular subject are held by the library.
From the very beginning, water has furnished man with a source of food and a highway to travel. The first civilizations arose (76) water was the dominant element in the environment, a challenge (77) man’s ingenuity. The Egyptians invented the 365-day calendar (78) the Nile’s annual flooding. The Babylonians (79) were among the most famous law-makers in ancient times, invented laws (80) water usage. Water inspired the Chinese to build a 1,000 miles’ canal, a complex system (81) , after 2,500 years, remains particularly in use and still commands the astonishment of engineers. But the ancients never found complete solutions (82) their water problem. The Yellow River is also known as "China’s Sorrow". It is so unpredictable and dangerous (83) in a single flood it has caused a million deaths. Floods slowed the great (84) of the Indus River Valleys, and innumerable damages ruined much of its land. Today, water dominates man as it always has done. Its presence continues to influence the location of his homes and cities; its violent variability can (85) man or his herds or his crops; its routes link him to his fellows; its immense value may add to the already dangerous political conflicts. There are many examples of this in our own time.
A. for
B. of
C. to
D. on
某镇捕鱼专业户张三的1250公斤鱼要卖。因其妻子急病入院需要他照顾,正巧其邻居李四开着拖拉机去城里给别人拉一批货。张三便与李四约好,由李四顺便将鱼拉到鱼市代卖,鱼价随行就市,销完抽5%给李四作为报酬。李四拉着鱼驶往鱼市,离鱼市还有四十余里时,突然迎面开来一辆大货车将拖拉机撞坏。警察说责任不在李四,责令对方给李四修车。但由于天热,拖拉机一时半会儿修不好,正好李四的同学王五开着车路过出事地点。李四怕鱼要变臭,又同张三联系不上,于是就求王五将拖拉机上的鱼拉到鱼市,能卖几个钱就算几个钱。 王五将鱼拉到鱼市时,正好碰到其表兄张一。张一得知这种情况后,便让王五将鱼处理给自己,然后他给王五500元回扣。王五怕张三知道情况后责怪自己,几经周折,最后拨通了张三的电话,告诉张三说鱼已不新鲜,按市价不好卖,要卖只能降低。张三让王五看着办。于是王五便以低于市场 1/3的价格将鱼处理给张一,张一依约给了王五 500元。事后李四从王五交给他的卖鱼款中扣下了约定的5%的报酬后,将其余的钱交给了张三。张三一算,如此一来,他少得了1 000多元,损失太大了,于是提出:原来说按市价卖出,就比例抽头,现在卖价低于市场价1/3,李某不应再拿5%的报酬了,而且他认为李四应赔偿在代销中给他造成的损失。 王五认为张三已让其"看着办",故其对张三的损失不负责。其说法是否能得到法院支持,为什么