来几个2012年属牛人的运程 帮做下题啦

牛人网上答题系列高中数学第四、五章
三角,向量_百度文库
两大类热门资源免费畅读
续费一年阅读会员,立省24元!
牛人网上答题系列高中数学第四、五章
上传于||文档简介
&&牛​人​网​上​答​题​系​列​高​中​数​学
阅读已结束,如果下载本文需要使用1下载券
想免费下载本文?
下载文档到电脑,查找使用更方便
还剩6页未读,继续阅读
你可能喜欢拜托牛人帮忙做几个题
[问题点数:20分]
拜托牛人帮忙做几个题
[问题点数:20分]
不显示删除回复
显示所有回复
显示星级回复
显示得分回复
只显示楼主
2013年 总版技术专家分年内排行榜第一
2014年 总版技术专家分年内排行榜第三
2013年 总版技术专家分年内排行榜第一
2014年 总版技术专家分年内排行榜第三
匿名用户不能发表回复!|
每天回帖即可获得10分可用分!小技巧:
你还可以输入10000个字符
(Ctrl+Enter)
请遵守CSDN,不得违反国家法律法规。
转载文章请注明出自“CSDN(www.csdn.net)”。如是商业用途请联系原作者。微测试|20道题,能得80分你就是牛人!_厚道山钢-爱微帮
&& &&& 微测试|20道题,能得80分你就是牛人!
—第267期·545篇—为纪念中国共产党成立95周年,全面推动“两学一做”学习教育深入开展,小编特意为大家准备了20道测试题,能得80分就是牛人!欢迎大家踊跃答题。测试题,我知道你见得多了但“厚道山钢”出品的测试题第一季广受欢迎此乃第二季也。考试须知参加考试的“钢镚”需关注“厚道山钢”微信公众号,并使用微信答题。每个微信号只能提交一次答案。考试成绩实时显示。点击“阅读原文”参加考试-end-也许您会喜欢???*点击上面的标题,即可进入阅读&编辑:心闻审核:董鹏山钢集团新闻传媒中心出品 点击下方“阅读原文”参加考试
点击展开全文
悄悄告诉你
更多同类文章
还可知道有多少人阅读过此篇文章哦
阅读原文和更多同类文章
可微信扫描右侧二维码关注后
还可知道有多少人阅读过此篇文章哦
山东钢铁集团官方公众平台
您的【关注和订阅】是作者不断前行的动力
本站文章来自网友的提交收录,如需删除可进入
删除,或发送邮件到 bang@ 联系我们,
(C)2014&&版权所有&&&|&&&
京ICP备号-2&&&&京公网安备34老师给的一个期末题目,求牛人帮忙修改一下~谢谢啦!_c语言吧_百度贴吧
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&签到排名:今日本吧第个签到,本吧因你更精彩,明天继续来努力!
本吧签到人数:0成为超级会员,使用一键签到本月漏签0次!成为超级会员,赠送8张补签卡连续签到:天&&累计签到:天超级会员单次开通12个月以上,赠送连续签到卡3张
关注:449,298贴子:
老师给的一个期末题目,求牛人帮忙修改一下~谢谢啦!收藏
建立学生成绩管理系统每个学生包括:学号,姓名,QQ,电话,三门功课的成绩以及获得的学分,平均成绩。实现1;录入学生的相关信息,2;求每门课程的平均成绩,若该课程及格则获两学分,不及格学分为0.并统计每门课程没有学分的学生名单。3;可进行精确查询。即通过姓名查询该学生的QQ,电话;或查学生的所有课程的成绩或查询学生获得每门课程的学分。4;输出总学分没有达到预定学分的所有学生。备注:编写程序是要有注释信息,即每个模块实现的功能,以及引用变量的作用。也可以在C++完成,此环境下注时可用中文,所有结果都以文件形式保存#include &stdio.h&#include &time.h&#include &stdlib.h&#include &string.h&#include &conio.h&#define MAX 100void input();void sort();void find();void average();void del();void unpass();void save();void read();int now_no=0;struct stuent{ char name[20]; char sex[4]; float score1; float score2; float score3; long QQ; int a1,a2,a3;};struct student stu[MAX],*p;main()/*主函数*/{ start:printf("\t\t\t学生成绩录入与查询\n");/*选择模块*/ do {&& printf("\n\t\t\t1.录入学生信息\n\t\t\t2.显示学生信息\n\t\t\t3.查询学生信息\n\t\t\t4.查询各科平均\n\t\t\t5.查询未过学生\n\t\t\t6.保存学生信息\n\t\t\t7.读取学生信息\n\t\t\t8.删除学生信息\n\t\t\t9.退出\n");&& printf("\t\t\t选择系统功能:");&& ffluch(stdin);&& scanf("%d",&as);&& switch(as)&& {&&& case 1:system("cls");input();&&& case 2:system("cls");display();&&& case 3:system("cls");find();&&& case 4:system("cls");average();&&& case 5:system("cls");unpass();&&& case 6:system("cls");save();&&& case 7:system("cls");read();&&& case 8:system("cls");del();&&& case 9:system("exit");exit(0);&&& default:system("cls");&& } }while(1);/*选择功能结束*/}void input()/*输入学生信息函数*/{ int i=0; do {&& printf("\t\t\t\t1.录入学员信息\n输入第%d个学员的信息\n",i+1);&& printf("\n输入学生编号:");&& scanf("%d",&stu[i].no);&& fflush(stdin);&& printf("\n输入学生姓名:");&& fflush(stdin);&& gets(stu[i].name);&& printf("\n输入学生性别:");&& fflush(stdin);&& gets(stu[i].sex);&& printf("\n输入语文成绩:");&& fflush(stdin);&& scanf("%f",&stu[i].score1);&& if(stu[i].score1&=60)&& stu[i].a1=2;&& else&& stu[i].a1=0;&& printf("\n输入数学成绩:");&& fflush(stdin);&& scanf("%f",&stu[i].score2);&& if(stu[i].score2&=60)
&& stu[i].a2=2;&& else&& stu[i].a2=0;&& printf("\n输入英语成绩:");&& fflush(stdin);&& scanf("%f",&stu[i].score3);&& if(stu[i].score3&=60)&& stu[i].a3=2;&& else&& stu[i].a3=0;&& printf("输入该学生QQ号:");&& fflush(stdin);&& scanf("%ld",&stu[i].QQ);&& printf("输入该学生电话:");&& fflush(stdin);&& scanf("%ld",&stu[i].tel);&& printf("\n\n");&& i++;&& now_no=i;&& printf("是否继续输入?(Y/N)");&& fflush(stdin);&& ch=getch();&& system("cls"); } while(ch!='n'&&ch!='N'); system("cls");}display()/*显示学生信息函数*/{ average(); do {&& printf("\t\t\t班级学员信息列表\n");&& printf("\t编号\t姓名\t性别\t语文\t学分\t数学\t学分\t英语\t学分\tQQ号\t联系电话\t平均分\n");&& for(i=0;i&now_no&&stu[i].name[0];i++)printf("\t%d\t%s\t%s\t%.2f\t%d\t%.2f\t%d\t%.2f\t%d\t%.2f\t%ld\t%ld\t%.2f\n",stu[i].no,stu[i].name,stu[i].sex,stu[i].score1,stu[i].a1,stu[i].score2,stu[i].a2,stu[i].score3,stu[i].a3,stu[i].QQ,stu[i].tel,stu[i].ave);&& printf("\t\t按任意键返回主菜单.");&& fflush(stdin);&& as=getch(); } while(!as); system("cls");}void find()/*查询函数*/{ char str[20], do {&& printf("输入要查询的学生姓名:");&& fflush(stdin);&& gets(str);&& for(i=0;i&now_i++)&&& if(!strcmp(stu[i].name,str))&&&&& {&&&&&& printf("\t编号\t姓名\t性别\t语文\t学分\t数学\t学分\t英语\t学分\tQQ\t联系电话\t平均分\n");&&&&&& printf("\t%d\t%s\t%s\t%.2f\t%d\t%.2f\t%d\t%.2f\t%d\t%.2f\t%ld\t%ld\t%.2f\n",stu[i].no,stu[i].name,stu[i].sex,stu[i].score1,stu[i].a1,stu[i].score2,stu[i].a2,stu[i].score3,stu[i].a3,stu[i].QQ,stu[i].tel,stu[i].ave);&&&&& }&& printf("\t\t按任意键返回主菜单.");&& fflush(stdin);&& as=getch(); } while(!as); system("cls");}void average()/*查询各科平均数*/{ float sum1,sum2,sum3; float ave1,ave2,ave3; for(i=0;i&MAX;i++)&& {&&& sum1+=stu[i].score1;&&& sum2+=stu[i].score2;&&& sum3+=stu[i].score3;&&& if(stu[i+1].score1==0|stu[i+2].score1==0)&&&&& }&& ave1=sum1/i;&& ave2=sum2/i;&& ave3=sum3/i;&& printf("语文平均分为:%.2f\t数学平均分为:%.2f\t英语平均分为:%.2f\n",ave1,ave2,ave3);&& printf("是否继续输入?(Y/N)");&& fflush(stdin);&& ch=getch();
&& system("cls");}void unpass()/*未通过学生名单查询*/{ printf("\t预定学分为4分,没有达到预定学分的同学有:\n") for(i=0;i&MAX;i++) {&& if(stu[i].a1+stu[i].a2+stu[i].a3&4)&&&&&& printf("\t%s\n",stu[i].name); } printf("是否继续输入?(Y/N)");&& fflush(stdin);&& ch=getch();&& system("cls");}void save()/*保存数据函数*/{ FILE * char filepath[20]; printf("输入要保存的文件路径:"); fflush(stdin); gets(filepath); if((fp=fopen(filepath,"w"))==NULL) {&& printf("\n保存失败!");&& exit(0); } for(i=0;i&now_i++) {&& stu[i].sum=stu[i].score1+stu[i].score2+stu[i].score3;&& stu[i].ave=stu[i].sum/3;&& fprintf(fp,"\t%d\t%s\t%s\t%.2f\t%d\t%.2f\t%d\t%.2f\t%.2f\t%d\t%ld\t%ld\t%.2f\n",stu[i].no,stu[i].name,stu[i].sex,stu[i].score1,stu[i].a1,stu[i].score2,stu[i].a2,stu[i].score3,stu[i].a3,stu[i].QQ,stu[i].tel,stu[i].ave); } fclose(fp);&& printf("学生信息已保存在%s中!\n",filepath); system("pause"); system("cls");}void read()/*读取学生信息*/{ FILE * char filepath[20]; printf("输入要读入的文件路径:"); fflush(stdin); gets(filepath); if((fp=fopen(filepath,"r"))==NULL)&&& {&&&& printf("找不到%s文件!\n",filepath);&&&& system("pause");&&&& exit(0);&&&& } now_no=0; for(i=0;i&MAX&&!feof(fp);i++)&&& {&&&& fscanf(fp,"\t%d\t%s\t%s\t%f\t%d\t%f\t%d\t%f\t%d\t%ld\t%ld\t%f\n",&stu[i].no,stu[i].name,stu[i].sex,&stu[i].score1,&stu[i].a1,&stu[i].score2,&stu[i].a2,&stu[i].score3,&stu[i].a3,&stu[i].QQ,&stu[i].tel,&stu[i].ave);&&&& now_no++;&&& } fclose(fp);&& printf("保存的在文件%s中的所有信息已经读入!\n",filepath); system("pause"); system("cls"); }void del(){ FILE * char filepath[20]; printf("输入要删除的文件路径:"); fflush(stdin); gets(filepath); fp=fopen(filepath,"w"); fclose(fp); printf("保存的在文件%s中的所有信息已经删除!\n",filepath); system("pause"); system("cls"); }
牛人何在啊?小弟在这先谢谢了。。。
运行会发现好多错,好多不会改的
百度:C学生成绩管理系统
你找个类似的管理系统比较一下就可以了
这种又长又乱的代码让别人帮调试是不实际的
登录百度帐号推荐应用
为兴趣而生,贴吧更懂你。或那个牛人帮我做下面的英语题1.The thing that _____ is not whether you fail or not ,but whether
you try or not A. cares
C . matters
D. depends 2.. He came to my class every week ,but his attitude _____ he was
not exactly interested in the subject.
A. expressed
B. described
C supposed
D. suggested
3. The reform of education
a new development , but this development must take plsce in the not too
____ future . A. long
C. distant
remote 4. Not knowing
world yet ,simple –minded teenages are easily---- A. taken up
B. taken in
C. taken on
D taken off 5. They urged that the library ____ during the vacation . A
be kept open
B. would be kept opening
C. to be kept opened
D .was open
kept 6.______ such a heavy loss, the businessman didn’t
have the courage to go on.
A. To suffer
B. Suffering
C. Suffered
D .Having suffered 7.The committee is under ____ to reach
agreement before midnight. A. duty
B pressure
influence 8.
There are 51 stars on America’s national flag, each ____ a
A. standing for
B. stands for
represented
represent 9. He has never lliked meat , and has always had a
___ for vegetables and fruit. A.perfection
B. feeling
preference10. --- Mum , I have finished
my homework .
--- Oh, if you ___ not to disturb me , you can watch TV.A. offer
D want 11.
not able to carry
because of the
dog. A. goals
D chances 12. Most
watchers expect China to fully
the high speed
networks ,which ___ makes it difficult to communicate with others
online.13.For miles around me ,there was nothing but a desert ,without a single tree ____
A. in sight
B. on earth. C. at a distance
in place 14.---- Could
have a word with you ?
---- Sorry, I am
busy ____ . Shall we do it later?
A . At the moment
Bfor a moment
C on the moment
D . in a moment 15. I’m not patient enough to sit for a whole
morning ,just ___ a word puzzle . A. solve
B. to solve
to be solving
have solved .
敷衍kiCJ89
1.C 11.A2.D3.D 13.A4.C 14.A5.A 15.B6.D7.B8.A9.D10.A
为您推荐:
其他类似问题
1.The thing that __C___ is not whether you fail or not ,but whether
you try or not A. cares
C. matters
D. depends 2.. He came to my class every week ,but his attitude _D____ he ...
扫描下载二维码

我要回帖

更多关于 超级牛人 的文章

 

随机推荐