题目内容

请补充main 函数,该函数的功能是:计算两个自然数n和m(m<10000)之间所有数的和(n和m从键盘输入)。
例如:当n=1,m=100时,sum=5050:当n=100,m=1000时,sum=495550。
注意:部分源程序给出如下。
请勿改动主函数main和其他函数中的任何内容,仅在 main 函数的横线上填入所编写的若干表达式或语句。
试题程序:
include<stdio.h>
include<conio.h>
main ()
{
int n, m;
long sum;
【 】
clrscr ();
printf ("\nInput n,m\n");
scanf ("%d, %d", &n, &m);
while (n<=m)
{
【 】
n++;
}
printf ("sum=%【 】\n", sum);
}

查看答案
更多问题

For this part, you are allowed 30 minutes to write a short essay entitled On Fake Commodities. You should write at least 150 words following the outline given below in English:
1. What is take commodity?
2. The harm of fake commodity.
3. How to put an end to fake commodities?

以下2题是基于下述描述:
设有图书管理数据库:
图书(总编号C(6),分类号C(8),书名C06),作者C(6),出版单位C(20),单价N(6,2))
读者(借书证号C(4),单位C(8),姓名C(6),性别C(2),职称C(6),地址c(20))
借阅(借书证号C(4入总编号C(6),借书日期D(8))
对图书管理数据库,查询图书表中的所有元组。请对下面的SQL语句填空:【 】

Human psychology decides that our maximum bid should be _______________ more than that of

第二节 书面表达
有一组英国中学生来你校访问,校长让你负责接待。下面是校长交给你的活动安排时间表,请你用英语向英国中学生讲清楚,他们在北京逗留三天的活动安排。
时间 活动项目 有关内容
星期一上午 校长接见 介绍学校情况
下午 参观实验室和图书馆,教学楼
星期二上午 两国学生共同游览长城 野餐
下午 在教室集会 联欢
星期三上午 两国学生举行座谈会
下午 乘车去西安

答案查题题库