![初三1000米成绩转换工具代码_第1页](http://file3.renrendoc.com/fileroot_temp3/2022-1/26/592c5380-d8db-41cf-9e9f-fa723eed0f7e/592c5380-d8db-41cf-9e9f-fa723eed0f7e1.gif)
![初三1000米成绩转换工具代码_第2页](http://file3.renrendoc.com/fileroot_temp3/2022-1/26/592c5380-d8db-41cf-9e9f-fa723eed0f7e/592c5380-d8db-41cf-9e9f-fa723eed0f7e2.gif)
![初三1000米成绩转换工具代码_第3页](http://file3.renrendoc.com/fileroot_temp3/2022-1/26/592c5380-d8db-41cf-9e9f-fa723eed0f7e/592c5380-d8db-41cf-9e9f-fa723eed0f7e3.gif)
![初三1000米成绩转换工具代码_第4页](http://file3.renrendoc.com/fileroot_temp3/2022-1/26/592c5380-d8db-41cf-9e9f-fa723eed0f7e/592c5380-d8db-41cf-9e9f-fa723eed0f7e4.gif)
下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、unit Unit1;interfaceuses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls;type TForm1 = class(TForm) Button1: TButton; Edit1: TEdit; Edit2: TEdit; procedure Button1Click(Sender: TObject); function TForm1.ChengJiDJ(FS: real): string; private Private declara
2、tions public Public declarations end;var Form1: TForm1;implementation$R *.dfmfunction Tform1.ChengJiDJ(FS: real): string; /自定义函数输入成绩返回成绩等级begin if (FS<=3.30) then result:= '15'else if (FS<=3.36) and (FS>3.30) thenresult:= '14.5'else if (FS<=3.38) and (FS>3.36) then res
3、ult:= '14'else if (FS<=3.42) and (FS>3.38) then result:= '13.5'else if (FS<=3.46) and (FS>3.42) then result:= '13'else if (FS<=3.50) and (FS>3.46) then result:= '12.5'else if (FS<=3.54) and (FS>3.50) then result:= '12'else if (FS<=3.
4、58) and (FS>3.54) then result:= '11.5'else if (FS<=4.02) and (FS>3.58) then result:= '11'else if (FS<=4.06) and (FS>4.02) then result:= '10.5'else if (FS<=4.10) and (FS>4.06) then result:= '10'else if (FS<=4.15) and (FS>4.10) then result:= &
5、#39;9.5'else if (FS<=4.20) and (FS>4.15) then result:='9'else if (FS<=4.25) and (FS>4.20) then result:= '8'else if (FS<=4.30) and (FS>4.25) then result:= '7'else if (FS<=4.35) and (FS>4.30) then result:= '6'else if (FS<=4.45) and (FS>
6、4.35) thenresult:= '5'else if (FS<=4.55) and (FS>4.45) then result:= '4'elseif (FS<=5.05) and (FS>4.55) then result:= '3'else if (FS<=5.15) and (FS>5.05) then result:= '2'else if (FS<=5.25) and (FS>5.15) then result:= '1'else if (FS>5.25) then result:= '0' end;procedure TForm
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2024-2025学年第12课从明朝建立到清军人关-勤径学升高中历史必修上同步练测(统编版2019)
- 园林养护人员雇佣合同范文2025年
- 2025年伙伴合同终止协议
- 2025年企业办公用品综合供需合同
- 2025年官方物流配送协议书高清
- 2025年企业设备抵押担保贷款合同
- 2025年动物收养协议版式
- 2025年粮食供需双方合同策划大纲
- 2025年智能交通项目提案报告模式
- 2025年企业维修保养年合作协议
- 《药品管理法》知识考试题库300题(含答案)
- 助贷机构业务流程规范
- DL∕T 5106-2017 跨越电力线路架线施工规程
- 西师大版数学四年级下册全册教学课件(2024年3月修订)
- 骨科医院感染控制操作流程
- 绿化养护服务投标方案(技术标)
- 九年级物理第一课
- 食材配送技术方案
- 全年无休供货承诺书
- 中药的临床合理应用
- 材料设备采购进度计划控制措施
评论
0/150
提交评论