本文介绍了函数随机化数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要帮助来制作一个随机函数来随机化所有总统名字

任何人都可以帮我解决这个问题吗?

Thanx

解决方案



嗨。你可以将名字放在一个数组中,你可以使用Rnd()函数随机选择一个特定的名字


祝你好运。




hey thanx但我不明白。我真的是初学者,我不知道如何使用随机功能。请帮忙。谢谢你的回复。




例如,如果你有一个包含25个整数的数组,你可以随机选择其中一个:

展开 | 选择 | Wrap | 行号

I need help to make a random function to randomize all of the presidents names
can any one help me out with this?
Thanx

解决方案

Hi. You might put the names in an array and you might use the Rnd() function to select a particular name at random

good luck.


hey thanx but i dont understand it. I am really a beginner at this and i dont know how to use the random funtion. Please help.Thank you for replying.


If, for instance, you have an array of 25 integers you can select one of them at random by:

Expand|Select|Wrap|Line Numbers


这篇关于函数随机化数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

05-28 17:33
查看更多