题目内容

下列程序将x、y和z按从小到大的顺序排列,请将下面的函数模板补充完整。template<class T>void order( 【15】 ){ T a; if(x>y) { a=X;x=y;y=a; } if(y>z) { a=y;y=z;z=a; } if(x>y) { a=X;x=y;y=a; }}

查看答案
更多问题

C We experience different forms of the sun’s energy every day. The sun is the major source of energy for our planet. It causes the evaporation(蒸发)of water from the oceans and lakes. Sunlight also provides the energy used by green plants to make their own food. Much of the energy that comes from the sun never reaches the earth’s surface. It is either reflected or absorbed by the gases in the upper atmosphere. Of the energy that reaches the lower atmosphere, 30% is reflected by clouds or the earth’s surface. The remaining 70% warms the surface of the planet, causes water to evaporate, and provides energy for the water cycle and weather. Only a tiny part, approximately 0.023%, is actually used by green plants to produce food. Many gases found in the atmosphere actually reflect heat energy escaping from the earth’s surface back to the earth. These gases act like the glass of a greenhouse in that they allow energy from the sun to enter but prevent energy form leaving. They are therefore called greenhouse gases. When sunlight strikes an object, some of the energy is absorbed and some is reflected. The amount reflected depends on the surface. Dark-colored surfaces, such as dark soil or forest, absorb more energy. Only a small part of the sun’s energy reaches the earth’s surface because most of it is______.

A. absorbed by the clouds in the lower atmosphere
B. reflected by the gases in the upper atmosphere
C. lost in the upper and lower atmosphere
D. used to evaporate water from the oceans and lakes

D Computer programmer David earns $40,000 a year designing new computer games, yet he cannot find a bank to let him have a credit card. Instead, he has been told to wait another two years until he is 18. The 16-year-old works for a-small firm in Liverpool. David’s firm releases two new games for the fast growing computer market each month. But David’s biggest headache is what to do with his money. Even though he earns a lot, he cannot drive a car, take out a mortgage(抵押货款), or get credit cards. "I got the job because the people who run the firm knew I had already written some programs." he said. David spends some of his money on records and clothes, and gives his mother 50 pounds a week. "Unfortunately, computing was not part of our studies at school," he said, "but I had been studying it in books and magazines for four years in my spare time. I knew what I wanted to do and never considered staying on at school." David added, "I would like to earn a million and I suppose early retirement is a possibility. You never know when the market might disappear." Why did David decide to leave school and start working

A. He received lots of job offers.
B. He was eager to help his mother.
C. He lost interest in school studies.
D. He wanted to earn his own living.

理事会是证券交易所的决策机构,目前每属任期3年( )

A. 对
B. 错

C We experience different forms of the sun’s energy every day. The sun is the major source of energy for our planet. It causes the evaporation(蒸发)of water from the oceans and lakes. Sunlight also provides the energy used by green plants to make their own food. Much of the energy that comes from the sun never reaches the earth’s surface. It is either reflected or absorbed by the gases in the upper atmosphere. Of the energy that reaches the lower atmosphere, 30% is reflected by clouds or the earth’s surface. The remaining 70% warms the surface of the planet, causes water to evaporate, and provides energy for the water cycle and weather. Only a tiny part, approximately 0.023%, is actually used by green plants to produce food. Many gases found in the atmosphere actually reflect heat energy escaping from the earth’s surface back to the earth. These gases act like the glass of a greenhouse in that they allow energy from the sun to enter but prevent energy form leaving. They are therefore called greenhouse gases. When sunlight strikes an object, some of the energy is absorbed and some is reflected. The amount reflected depends on the surface. Dark-colored surfaces, such as dark soil or forest, absorb more energy. According to the passage, the root cause for weather changes on the earth is

A. the atmosphere surrounding the earth
B. water from oceans and lakes
C. energy from the sun
D. greenhouse gases in the sky

答案查题题库