如何在vb.net中计算 [英] how to calculate in vb.net
本文介绍了如何在vb.net中计算的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我将创建某种可以执行数学任务的自动化程序,它将执行n x n/+ 2或简单地将n乘以n除以180 + 2的完整代码.
157 x(1到100)/180 + 2,我只需要将157到1到100倍并在列表框中列出.....这是我的作业,请帮助....
I am going to create some kind of automated program that will do a math tasks, it will n x n / + 2 or simply n times n divided by 180 + 2, the full code
157 x (1 to 100) / 180 + 2 , i just need to times 157 to 1 to 100 and list it on a listbox..... this is my homework please help....
Dim i As Integer
For i = 1 To 100 Step 1
'Thread.Sleep(100)
' prgload.Value = i
intNumber = 157
TextBox2.Text = i
ListBox1.Items.Add(i)
' intNumber *= i
' TextBox2.Text = intNumber
Next
' prgload.Value = 10
我需要使用*,/,+,
i need to use * , / , + ,
推荐答案
转到此处 [ ^ ]
这是我的作业,请帮忙
为什么?毕竟这不是我们的功课.如果您不知道如何使用简单的数学函数,那么我建议您花一些时间在讲义或参考手册上,或者可以看一下 ^ ].
this is my homework please help
Why? After all it is not our homework. If you do not know how to use simple math functions then I would suggest you spend some time with your lecture notes or your reference manuals, or you could look here[^].
这篇关于如何在vb.net中计算的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文