从键盘输入x的值,根据以下公式计算并输出x和y的值。
include%<math.h>
include<stdio.h>
main()
{float x,y;
scanf("%f".______);/*第一空*/
if(x<0)printf("input error!\n");
else
{switch((int)(x/2))
{case 0:y—x;______;/*第二空*/
case 1:
case 2:y=x*x+1;break;
case 3:
case 4:y=______;break;/*第三空*/
default:y=1/(x*x+1);
}
printf("x=%7.2f,y=%10.6f\n",x,y);
}
}
查看答案
Pudong New Area is part of the city of Shanghai. It is located on the eastern side of Huangpu River, which cuts through the city. Pudong has a laud area of 533.@44 square kilometers and a permanent population of 163 million. In the past, due to the lack of bridges and tunnels across the river, Pudong lagged far behind the old downtown of Shanghai in terms of economic growth, though it lies just opposite the latter.
On April 18, 1990, the Chinese central government made the announcement of opening up and developing Shanghai Pudong. That was seen as a major strategy to turn Shanghai into one of world's largest economic, financial and trade centers and to regenerate the economy of the Yangtze River Delta and even the whole Yangtze River Valley.
The reconstruction of Pudong is a major strategic decision in carrying on the social and economic progress of China. It will lead the country in innovations of administrations, upgrading of industrial structures and expanding the practice of the opening-up policy. The past ten years have witnessed explosive economic growth in Pudong as well as an enormous change in the appearance of the city. Pudong New Area has become the landmark of Shanghai as one of the international economic centers in the 21st century.
As the tallest building in China, Jin Mao Tower is au intelligent building offering services for business, hotel, recreation, sightseeing and shopping. It is not only a new tourist attraction but also a window through which people from other parts of the world may get a better understanding of Shanghai and Pudong.
Pudong
Land area:【46】.
Population:【47】.
Past situation:【48】.
Time for fast development:【49】.
A window to see Shanghai:【50】.
广州开开公司是一般纳税人企业,2010年1月31日的账户余额如下:
①总分类账户余额
(说明:“预付账款”账户无贷方明细科目。)
②有关明细账余额
应付账款——A公司 (借方) 3 000元
——B公司 (贷方) 49 800元
应收账款——C公司 (借方) 122 000元
——D公司 (贷方) 5 000元
要求:计算该企业资产负债表中以下项目的金额:货币资金、存货、应收账款、应付账款、预收账款、预付账款。
Directions: For this part you are allowed 30 minutes to write a short essay entitled The Purpose of College Education. You should write at least 150 words following the outline given below:
1. 目前,中国高等教育不再是少数人享有的教育,拥有大学文凭的人数日益增加
2. 大学生失业不再新鲜,因此有人认为读书无用
3. 我对大学教育目的的认识
The Purpose of College Education
Part B
Suppose you are a student of Beijing University. You went to Shanghai last month and unfortunately lost your bag there with your student card, identification card and 200 yuan in it. When you got back to Beijing, you received a parcel in which the two cards and the handbag are contained, and a bill of 200 yuan. From the address, you know he is Li Ming, a sophomore of the Physics Department of X University. Now you want to write a letter of commendation to Wang Yin.
You should write appropriately 100 words. Do not sign your own name at the end of your letter. Use "Wang Lin" instead. You do not need to write the address.