产生随机变量 [英] generating random variables

查看:67
本文介绍了产生随机变量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

开发一个Visual Basic应用程序,该应用程序将生成给定下限和上限值的许多随机值.用户可以提供必须生成的随机值的数量.如果不是,则使用可选参数以及块和模块作用域生成的默认值必须为10.plzplz帮助其紧急

Develop a Visual Basic application that will generate a number of random values, given a lowerbound and upperbound value. The number of random values that must be generated may be supplied by the user. If not, the default number of values generated must be 10,making use of the optional parameter and block and module scope...plz plz help its urgent

推荐答案

使用System.Random.Next().请参见此处 [
Use System.Random.Next(). See here[^] for more details.


这篇关于产生随机变量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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