java计算机编程学习中10to. 16do

人人网 - 抱歉
哦,抱歉,好像看不到了
现在你可以:
看看其它好友写了什么
北京千橡网景科技发展有限公司:
文网文[号··京公网安备号·甲测资字
文化部监督电子邮箱:wlwh@··
文明办网文明上网举报电话: 举报邮箱:&&&&&&&&&&&&您所在位置: &
&nbsp&&nbsp&nbsp&&nbsp
专升本计算机编程题类型总结.doc19页
本文档一共被下载:
次 ,您可免费全文在线阅读后下载本文档
文档加载中...广告还剩秒
需要金币:80 &&
你可能关注的文档:
··········
··········
①求和类:
计算S 1!+2!+3!+4!+。。。。。。+N!
INPUT "N " TO N
FOR i 1 TO N
FOR I 1 TO 21 STEP 2
SUM SUM+I^3
?”SUM ”,SUM
3.有一分数序列,求前20项之和
FOR I 1 TO 20
SUM SUM+TERM
?”SUM ”,SUM
4.求Sn a+aa+aaa+aaaa……,其中,a是一个数字,a的个数为n,a和n由键盘输入
INPUT "输入 a 的值:" TO A
INPUT "输入项数n:" TO N
FOR I 1 TO N
?"数列之和为:",SN
5. 求ex的台劳级数展开式的前n项之和 运行时输入x 2.0,n 4
INPUT “X ” TO X
INPUT “N ” TO N
FOR I 1 TO N-1
?”SUM ”,SUM
6.求1*2+3*4+5*6+……21*22
FOR I 1 TO 21 STEP 2
SUM SUM+I* I+1
?"和为 ",SUM
n,求下列级数的
?1-1/2+1/3-1/4+…+1/n
INPUT TO N
FOR I 1 TO N
S S+F* -1 ^ I-1 /I
8.计算连续自然数之和,并且显示和刚大于1000的最后一个自然数
Sn 1+2+3+4+…+N
STORE 0 TO S,N
DO WHILE S
9.求1^2+4^2+7^2+…一直加到超过1000为止,输出和数与项数。
DO WHILE S
10.求1-100之间所有奇数之和
FOR I 1 TO 100 STEP 2
? “SUM ”,SUM
10.输出100到200之间所有能被5或7整除的整数,并输出他们的和。
FOR I 100 TO 200
IF MOD I,10
5 AND MOD I,7
?“SUM ”,SUM
11.编程输出100~500之间能被7整除的奇数的个数。
FOR I 100 TO 500
IF I%7 0 AND I%2 1
? “N ”,N
12. 求1/ 1*2 +1/ 3*4 +1/ 5*6 +……+1/ 99*100
for i 1 to 99 step 2
sum sum+1/ i* i+1
?"sum ",sum
求如下级数前N项之和 X和N的值由键盘输入
正在加载中,请稍后...Perhaps you have read about Robinson Crusoe. Many children like to read about this man who lived alone for years on an island far out in the ocean. His ship was driven on the rock in a storm and all the other men on board (1) drowned alone (2) island. It is a long story and (3) of the many brave and clever (4) he did as he lived (5) his. family of animals. When he first swam to the island, he did not know (6) he would find in this strange place. Here is (7) of his story.
"What should I do? I was very wet and had no (8) of clothes. I was (9) and thirsty and didn't know (10) to turn to find anything to eat or drink. Were there (11) wild animals on the island? Would they attack me?"
"Night was coming on and I had to took (12) a place to sleep in. I stood there (13) didn't know (14) to do."
"After a (15) I made up my (16) to do as the birds do. I would sleep (17) a tree. I looked round and found a tree with strong, heavy branches (18) I could (19) without falling."
"Though I had no gun, (20) I had my knife with me, and with it I cut off a thick stick. I wanted to be able to drive off animals. Then I climbed the tree, and as I was tired, I fell asleep and didn't wake up till the sun was high in the sky." - 跟谁学
在线咨询下载客户端关注微信公众号
搜索你想学的科目、老师试试搜索吉安
在线咨询下载客户端关注微信公众号&&&分类:
Perhaps you have read about Robinson Crusoe. Many children like to read about this man who lived alone for years on an island far out in the ocean. His ship was driven on the rock in a storm and all the other men on board (1) drowned alone (2) island. It is a long story and (3) of the many brave and clever (4) he did as he lived (5) his. family of animals. When he first swam to the island, he did not know (6) he would find in this strange place. Here is (7) of his story.
"What should I do? I was very wet and had no (8) of clothes. I was (9) and thirsty and didn't know (10) to turn to find anything to eat or drink. Were there (11) wild animals on the island? Would they attack me?"
"Night was coming on and I had to took (12) a place to sleep in. I stood there (13) didn't know (14) to do."
"After a (15) I made up my (16) to do as the birds do. I would sleep (17) a tree. I looked round and found a tree with strong, heavy branches (18) I could (19) without falling."
"Though I had no gun, (20) I had my knife with me, and with it I cut off a thick stick. I wanted to be able to drive off animals. Then I climbed the tree, and as I was tired, I fell asleep and didn't wake up till the sun was high in the sky."
Perhaps you have read about Robinson Crusoe. Many children like to read about this man who lived alone for years on an island far out in the ocean. His ship was driven on the rock in a storm and all the other men on board (1) drowned alone (2) island. It is a long story and (3) of the many brave and clever (4) he did as he lived (5) his. family of animals. When he first swam to the island, he did not know (6) he would find in this strange place. Here is (7) of his story.
"What should I do? I was very wet and had no (8) of clothes. I was (9) and thirsty and didn't know (10) to turn to find anything to eat or drink. Were there (11) wild animals on the island? Would they attack me?"
"Night was coming on and I had to took (12) a place to sleep in. I stood there (13) didn't know (14) to do."
"After a (15) I made up my (16) to do as the birds do. I would sleep (17) a tree. I looked round and found a tree with strong, heavy branches (18) I could (19) without falling."
"Though I had no gun, (20) I had my knife with me, and with it I cut off a thick stick. I wanted to be able to drive off animals. Then I climbed the tree, and as I was tired, I fell asleep and didn't wake up till the sun was high in the sky."科目:难易度:最佳答案正确答案:D解析答案解析:
[分析] 这道题是考时态,根据句子的前半部分是用一般现在式与单数第三人称,因此应选tells。知识点:&&基础试题拔高试题热门知识点最新试题
关注我们官方微信关于跟谁学服务支持帮助中心

我要回帖

更多关于 计算机编程入门 的文章

 

随机推荐