http://www.bc-cn.net/Article/kfyy/cyy/jc/200409/5_4.html float aver(float a[5]) { int i float av,s=a[0] for(i=1 i<5 i++) s=s+a[i] av=s/5 return av } void main() { float sco[5],av int i
标签: float Article 200409 bc-cn
上传时间: 2014-01-08
上传用户:zsjzc
This a calculator simulation program written in Labview. It is based on event structure introduced by Labviw 8.0 or later editions.
标签: calculator simulation introduced structure
上传时间: 2015-12-27
上传用户:123456wh
使用8051连接A/D转换器ADC0804,并从ADC0804输入0到5V的类比电压,然后把输入的类比电压值在LCM上显示出来。
上传时间: 2013-12-31
上传用户:lizhen9880
VC6.0核心编程。主要涉及到windows消息,框架,mfc库以及相关编程,com,activex技术,数据库技术,网络编程技术。为英文版本。 The 6.0 release of Visual C++ shows Microsoft s continued focus on Internet technologies and COM, which are key components of the new Windows Distributed interNet Application Architecture (DNA). In addition to supporting these platform initiatives, Visual C++ 6.0 also adds an amazing number of productivity-boosting features such as Edit And Continue, IntelliSense, AutoComplete, and code tips. These features take Visual C++ to a new level. We have tried to make sure that this book keeps you up to speed on the latest technologies being introduced into Visual C++.
上传时间: 2016-01-02
上传用户:lmeeworm
)一个PB的应用程序, 能实现以下功能: a.新增员工资料 b.修改员工资料 c.删除员工资料 d.按姓名查找员工资料(能模糊查找, 例如输入"林", 则所有姓或名中含有"林"字的 员工全列出来.) e.系统启动时, 针对今天为该员工生日的, 则自动弹出提示进行祝福. 2) 员工资料的数据必须有: 工号(为主键), 姓名, 出生日期, 入职日期, 部门, 职务 3) 数据库类型为ASA8.0
上传时间: 2016-01-03
上传用户:BIBI
A 2D homogeneous Helmholtz case (u=sin(x)cos(y) with a square) with % two Dirichlet edges (x=1,y=1) and two Neumann edges (x=0,y=0) % by indirect symmetric BKM
标签: with homogeneous Helmholtz Dirichlet
上传时间: 2016-01-03
上传用户:xjz632
% % set some variables in the workspace to control behaviour: % % graphicsMode 0 no graphics, % 1 graphics, particles, beacons, ground truth % 2 graphics, as above + range circles % % perfect 0 use beacon range data % 1 use ground truth range data % clear a
标签: graphicsMode behaviour variables workspace
上传时间: 2014-01-10
上传用户:yiwen213
We have a group of N items (represented by integers from 1 to N), and we know that there is some total order defined for these items. You may assume that no two elements will be equal (for all a, b: a<b or b<a). However, it is expensive to compare two items. Your task is to make a number of comparisons, and then output the sorted order. The cost of determining if a < b is given by the bth integer of element a of costs (space delimited), which is the same as the ath integer of element b. Naturally, you will be judged on the total cost of the comparisons you make before outputting the sorted order. If your order is incorrect, you will receive a 0. Otherwise, your score will be opt/cost, where opt is the best cost anyone has achieved and cost is the total cost of the comparisons you make (so your score for a test case will be between 0 and 1). Your score for the problem will simply be the sum of your scores for the individual test cases.
标签: represented integers group items
上传时间: 2016-01-17
上传用户:jeffery
1602A.asm 为驱动1602液晶显示器显示一个字母A的源程序。 1600logo.asm 为驱动1602液晶显示器(hd44780兼容芯片) 160209.asm 为1602液晶显示器(hd44780兼容芯片)的全屏显示0-9驱动程序 1602key.asm 小键盘控制的1602液晶显示器。
上传时间: 2013-12-21
上传用户:731140412
n皇后问题求解(8<=n<=1000) a) 皇后个数的设定 在指定文本框内输入皇后个数即可,注意: 皇后个数在8和1000 之间(包括8和1000) b) 求解 点击<Solve>按钮即可进行求解. c) 求解过程显示 在标有Total Collision的静态文本框中将输出当前棋盘上的皇后总冲突数. 当冲突数降到0时,求解完毕. d) 求解结果显示 程序可以图形化显示8<=n<=50的皇后求解结果. e) 退出程序,点击<Exit>即可退出程序.
上传时间: 2016-01-28
上传用户:ztj182002