飞机每分钟飞行15000米,2小时15分飞行多少千米?
2小时15分=135分;
15000米=15千米;
15×135=2025(千米);
答:2小时15分飞行2025千米.
It won't be ________ he ________ up with us.[ ]
A.long before; catches
B.before long; catches
C.for long; caught
D.long until; will catch
某学生的记录由学号、8门课成绩和平均分组成,学号和 8门课的成绩已在主函数中给出。请编写fun()函数,它的功能是:求出该学生的平均分放在记录的ave成员中。请自己定义正确的形参。 例如,若学生的成绩是85.5,76,69.5,85,91,72,64.5, 87.5,则他的平均分应当是78.875。 注意:部分源程序给出如下。 请勿改动主函数main和其他函数中的任何内容,仅在函数fun的花括号中填入所编写的若干语句。 试题程序: #include<stdio.h> #define N 8 typedef struct { char num [10]; double s[N]; double ave; } STREC; void fun() { } main() { STREC s={"GA005",85.5,76,69.5,85,91, 72,64.5,87.5); int i; fun (&s); printf("The %s’ s student data:\n",s.num)/ /*输出学号*/ for(i=0;i<N; i++) printf("%4.1f\n", s.s[i]); /*输出各科成绩*/ printf("\nave=%7.3f\n",s.ave); /*输出平均分*/ }