Art.No.8905 enjoys the fame of wide().
第1题:
________ fame and fortune, she was basically an unhappy woman.
A In case of
B In consequence of
C In spite of
D In care of
第2题:
A: dance
B: to dance
C: to dancing
D: dancing
第3题:
WWW是近几年来迅速崛起的一种服务方式,它是()的缩写。
A World Wide Wait
B World Wide Web
C World Wide Window
D World Wide Way
第4题:
Stephen Hawking are true examples of people who rose to international fame in spite of physical handicap.()
第5题:
WWW指的是______。
A.World Wide Web
B.Wide World Web
C.Web World Wide
D.Web Wide World
第6题:
Mariners proceeding across the main routes are recommended to do so at______.
A.as wide an angle as practicable
B.as wide an angle so practicable
C.like wide an angle as practicable
D.like wide as angle so practicable
第7题:
WWW是指()
第8题:
WWW是指()。
第9题:
WWW是近几年来迅速崛起的一种服务方式,它是什么的缩写?()
第10题:
selling
salable
sales
sell
第11题:
as wide an angle as practicable
as wide an angle so practicable
like wide an angle as practicable
like wide as angle so practicable
第12题:
Word Wide Web
World Wide Web
World web Wide
Web word wide
第13题:
(Rock Superstars) To become a rock star seems to be the fastest way to fortune and fame.()
第14题:
It was the Louvre Pyramid()brought him worldwide fame.
A、what
B、that
C、as
第15题:
Aon listen
Bto listening
Clistening
Dlistened
第16题:
已知在文件IN. dat中存有100个产品销售记录,每个产品销售记录由产品代码code(字符型4位)、产品名称name(字符型10位)、单价uprice(整型)、数量amount(整型)、金额sum(长整型)5部分组成。其中:金额=单价×数量。函数Rdata()是读取这100个销售记录并存入结构数组sell中。请编写函数SortDat(),其功能要求:按金额从小到大进行排列,若金额相等,则按产品代码从小到大进行排列,最终排列结果仍存入结构数组sell中。最后调用函数Wdata(),把结果输出到OUT. dat文件中。
注意:部分源程序已经给出。请勿改动主函数main()、读数据函数Rdata()和输出数据函数Wdata()的内容。
include <stdio. h>
include <string. h>
include <conio. h>
include <stdlib. h>
define MAX 100
typedef struct
{ char code[5]; /* 产品代码 */
char name[11]; /* 产品名称 */
int uprice; /* 单价 */
int amount; /* 数量 */
long sum; /* 金额 */
} PRO;
PRO sell [MAX];
void Rdata();
void Wdata();
void SortDat()
{
}
void main ()
{ memset(sell, 0, sizeof(sell)
Rdata();
SortDat();
Wdata();
}
void Rdata()
{ FILE *fp;
char str[80], ch[11];
int i;
fp = fopen("IN. dat", "r");
for (i=0; i<100; i++)
{ fgets(str, 80, fp);
memcpy(sell[i].code, str, 4);
memcpy(sell[i].name, str+4, 10);
memcpy(ch, str+14, 4);
ch[4] = 0;
sell[i].uprice = atoi(ch);
memcpy(ch, str+18, 5);
ch[5] = 0;
sell[i]. amount = atoi(ch);
sell[i].sum = (long)sell[i]. uprice * sell[i]. amount;
}
fclose(fp);
}
void Wdata()
{ FILE *fp;
int i;
fp = fopen("OUT. dat", "w");
for (i=0; i<100; i++)
{ printf("%s %s %4d %5d %5d\n", sell[i]. code, sell[i].name,
sell[i].uprice, sell[i]. amount, sell[i]. sum);
fprintf(fp, "%s %s %4d %5d %5d\n", sell[i]. code,
sell[i]. name, sell[i]. uprice, sell[i]. amount, sell[i]. sum);
}
fclose(fp);
}
第17题:
WWW是指:
A.World Wide Wait
B.Web Wide World
C.World Wide Web
D.World Wade Web
第18题:
LadyGaga的专辑《The Fame》曲目数量为?
第19题:
万维网WWW是()的缩写。
第20题:
Spenser is generally regarded as the greatest nondramatic poet of the Elizabethan age. His fame is chiefly based on his masterpiece "()".
第21题:
World Wide Wait
Web Wide World
World Wide Web
第22题:
第23题:
Because IBM has been brewing this sale for about 10 years.
Because IBM is going to produce mobile phones that have access to the Internet.
Because IBM can enlarge its PC sales with this merger.
Because IBM no longer enjoys any edges in PC making.