Welcome![Sign In][Sign Up]
Location:
Search - NSCO

Search list

[Windows DevelopNScode

Description: NS远程控制管理器,源码!送各位朋友!需要的就拿去-NS Remote Control Manager, Source! Send you a friend! Need to take
Platform: | Size: 1175552 | Author: 唐尧 | Hits:

[Other415

Description: 设有10名歌手(编号为1-10)参加歌咏比赛,另有6名评委打分,每位歌手的得分从键盘输入:先提示“Please input singer s score: ”,再依次输入第1个歌手的6位评委打分(10分制,分数为整型,分数之间使用空格分隔),第2个歌手的6位评委打分...以此类推。计算出每位歌手的最终得分(扣除一个最高分和一个最低分后的平均分,最终得分保留2位小数),最后按最终得分由高到低的顺序输出每位歌手的编号及最终得分。   注意:变量数据类型的选择应适当,在保证满足设计要求精度的情况下,养成不浪费内存空间和计算时间的好习惯。编程可用素材:printf ("Please input singer s score:\n")、printf("\nscores:\n")、printf("No.…: …。 -With 10 singers (numbered 1-10) to participate in singing competitions, and another six judges scoring, score each singer entered from the keyboard: first prompt " Please input singer' s score:" , and then enter the first turn of a singer six judges scoring (10-point scale, a score of integers, fractions separated by spaces between), the first two of the six judges scoring singers ... and so on. Calculate the final score of each singer (net of one of the highest points and lowest points after an average score of the final score to 2 decimal places), and finally the final score in descending order according to the output of each singer' s number and the final score. Note: The variable data type should be chosen appropriately, meet the design requirements to ensure the accuracy of the case, to develop without wasting memory space and computing time of good habits. Programming Available Material: printf (" Please input singer' s score: \ n" ), printf (" \ nsco
Platform: | Size: 238592 | Author: 肖硕 | Hits:

CodeBus www.codebus.net