ListBox计算概率 [英] ListBox calculations prob

查看:65
本文介绍了ListBox计算概率的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

heey
我对拼贴画有一个粗略的称呼,即视觉编程",我们使用视觉c#"
我已经做到了,但是仍然有一个问题,即如何计算我在列表框中添加的项目的平均值

{就像我们有一个文本框,每次我想输入一个学生的格数",当我单击平均值"按钮时,它必须计算平均值并将其显示在标签中}:confused :: confused:

我的问题是我不知道该如何做一般的事情:((


任何答案,请:sigh:

heey
I have an assinment for collage for a coarse called " visual programming" we use the " visual c# "
i have done it but still have one single problem which is how to calculate the average of the items i added in the list box

{it is like we have a textbox and each time i suppose to type a grage of a student" and when i click in the average button it has to calculate the average and display it in a lable}:confused: :confused:

my problem is i couldn''t figure out how to do the average thing :((


ANY ANSWERS, PLEASE :sigh:

推荐答案

当然,由于您正在学习编程课程(并且正在上大学),所以我假设您确实知道如何计算平均.如果没有,我建议 http://www.dtc.dla.mil/qa/Calcaverages .htm

您拥有所需的所有数据.计算平均值很容易.
Of course, Since you are in a programming course (and in college), I would assume you DO know how to calculate an average. If not, I would suggest http://www.dtc.dla.mil/qa/Calcaverages.htm

You have all the data you need. calculating the average is easy.


这篇关于ListBox计算概率的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆