以下程序计算1+1/3+1/5+...+1/(2N+1), 直到1/(2N+1)小于

题型:填空题

问题:

以下程序计算1+1/3+1/5+...+1/(2N+1), 直到1/(2N+1)小于0.000 01, 请在横线处将程序补充完整。
public class Sun
public static void main(String args[])
int n= 1;
double term,surn=1.0;
do
n= 【12】 :
term= 1.0/n;
sum=sum+term;

while(term>=0.00001 );
System.out.println(n);
Syst em.out.println(sum);

考点:计算机等级考试JAVA二级JAVA笔试
题型:填空题

下列事项中,会影响每股收益计算的有()。

A、派发股票股利

B、资本公积转增资本

C、发行可转换公司债券

D、回购企业股票

E、发行认股权证

题型:填空题

阅读理解。

     Do people in your country hug and kiss on the street? In some countries, it is common for people to

show affection (喜爱) in public places. In the United States, for example, we often see couples hold hands,

hug or kiss on the street, in the park, in restaurants, and even on trains and buses! However, in some other

countries, people never show affection in public places because their customs don't allow this. For example,

in China and Korea, custom doesn't allow people to do so in public. So, when Chinese and Korean people

visit the United States, they often feel very surprised and shocked when they see Americans hug and kiss on

the street. In some countries friends show physical affection to each other.

     In some South American countries, female (女性) friends walk arm in arm when they walk along the

street together. In Italy and Russia, male friends often kiss each other on both cheeks when they greet. In

most countries, men don't kiss or hug when they greet another. They usually shake hands or pat each other

on the back.

    People around the world are different in amount, manner, and situations in which they touch each other.

1. How do Korean people feel when they see people kiss and hug on the street?

A. Worried and sad.

B. Happy and interested.

C. Relaxed and enjoyable.

D. Surprised and shocked.

2. What's the Chinese meaning of  'hug' in the passage?

A. 拥抱

B. 摔跤

C. 嬉戏

D. 鞠躬

3. According to the passage, which of the following is NOT true?

A. Social customs are different in different countries.

B. Customs in the United States allow public affection.

C. Women in South America never touch each other.

D. People around the world are different in some ways in which they touch each other.

4. From the passage we can know that ________.

A. it is not polite to hug and kiss in public

B. male friends in Russia often kiss each other on both cheeks

C. Chinese and Korean people don't hug and kiss each other

D. all Americans like to kiss

5. The main idea of this passage is that _________.

A. Chinese people are quite different from American people

B. Koreans and Americans can never understand each other

C. different culture allows different ways to show affection

D. people in some countries are more affectionate than those in some other countries

题型:填空题

恩格斯曾说:“在这种过分的革命活动之后,必然接着到来一个不可避免的反动,这个反动又超出了它能继续下去的那个限度。经过多次动荡以后,新的重心终于确立了,并且成了新的出发点。”下列事件最符合这一特征的是

A.英国资产阶级革命

B.巴黎公社革命

C.辛亥革命

D.俄国十月革命

题型:填空题

用氧气的质量标准应达到()

A.无杂质,无有害气体

B.氧浓度不少于99.5%

C.水汽不高于5mL/瓶

D.温度不高于22℃

E.二氧化碳浓度不高于0.05%

题型:填空题

车间中的安全通道和安全疏散门()。

A、可有可无

B、只留一个

C、没有必要

D、一定要有

更多题库