试题与答案

补充完整下面的类定义: const double PI=3.14; class

题型:填空题

题目:

补充完整下面的类定义: const double PI=3.14; class Circle{ //圆形物体的抽象基类 protected: double r; //半径 public: Circle(double radius=0):r(radius){} (13) ; //计算圆形物体表面积的纯虚函数声明 }; class Cylinder:public Circle{ //圆柱体类 double h; //高度 public: Cylinder(double radius=0,double height=0); Circle(radius),h(height){} Virtual double Area( ){return 2*PI*r*(r+h);} //计算圆柱体的表面积 };

答案:

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

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

参考答案:借:银行存款 600 000  贷:短期借款 600 000  借:财务费用 3200  贷:预提费用 3200  借:短期借款 600 000  预提费用 6 400  财务费用 3 200  银行存款 609 600

试题推荐
题型:阅读理解
阅读理解。
      In 1955, Walt Disney (迪斯尼) himself opened the first Disney Park in Los Angeles, the USA. Later
Disney world was opened in Florida in 1971. It cost between $ 500 and $ 600 million to build. Tokyo
Disney Park opened in Japan in 1983, and Europe (欧洲) Disney opened in France in 1992.
      Now Hong Kong is going to build a Disney Park and it will be open in 2005.
      More than 80% of Hong Kong's population would like to visit the Disney Park when it's opened. But
about half of them thought the adult admission fee (成人参观费), of between HK $250 to HK $ 300 (US $
32 to US $ 38), was too high. The children's admission fee is not known yet. But children may not mind
paying any entrance fee. "If I start saving money now, I'll have enough money to pay the entrance fee in
five years' time," said Chan Po-sang, a 12-year old girl. "I can't take my son to the Disney Park in the USA,"
said Mrs. Yu, mother of a small boy, "That's why I agree with the government's plan (政府计划) to build
one here. Then I'll be able to take my son there. The admission fee of several hundred dollars is nothing
compared with (与...相比) the price of an air ticket to the USA."
1. The first Disney Park was built in ______.
[ ]
A. France
B. Tokyo
C. America
D. Hong Kong
2. How many Disney Parks will there be in Asia (亚洲) by the year 2005?
[ ]
A. 1
B. 2
C. 3
D. 4
3. What do the Hong Kong people think about the plan?
[ ]
A. Most of them agree with it.
B. Half of them don't agree with it.
C. Few of them agree with it.
D. Only children like it.
4. Do all the Hong Kong people care (关心) much about the entrance fee?
[ ]
A. Yes, they all think that the fee is too high.
B. No, the children may not mind how much the fee will be.
C. Yes, most of them feel that the fee is not high.
D. The writer doesn't tell us.
5. According to the passage, which of the following is TRUE?
[ ]
A. The adult admission fee is lower than the children admission fee.
B. Disney Parks are getting more and more popular among children and adults.
C. The children's admission fee is about HK $ 250 to HK $ 300.
D. Since the fee is too high, few Hong Kong people want to visit the park..
查看答案
微信公众账号搜索答案