I am trying to get the Random Number Generator to work in this Practice.
I’ve dragged an Assign box into the Flowchart, created a new variable names Random but, I cannot seem to get the Random Number Generator command correct.
I am entering new Random().Next{0.1000} but it doesn’t work. In fact, I have tried a whole host of combinations without success. Please can anyone give me the correct command?
@ddpadil Studio Community Edition updates automatically, so no @Vennie i would suggest to go through all the lessons, because there are walkthroughs and answers to every practical exercise
Thank you both for your responses. Working through the lessons is what I am trying to do. This is the first practice on Lesson 2. I’ll check to see if there are any updates.
By the way there are many benefits of playing a game like it improves our attention and concentration, enhances memory, etc. I think it is great task taken by you.
I’m really sorry but it was quite a while ago, and I don’t remember exactly. If the problem is with creating the random number generator, I think I Googled
the .net code.
Think before you print - NHS SBS is committed to supporting sustainability
This email originates from NHS Shared Business Services Limited (NHS SBS). The email and any attachments may contain confidential information and may be subject to copyright
or other intellectual property rights. It is only for the use of the addressees. You may not copy, forward, disclose, save or otherwise use it in any way if you are not the addressee or responsible for its delivery.
If you receive this email by mistake, please advise the sender and cancel it immediately. NHS SBS may monitor the content of emails within its network to ensure compliance with its policies and procedures. Any email is susceptible to alteration and its integrity
cannot be assured - NHS SBS shall not be liable if the message is altered, modified, falsified, or edited.
Just faced the same problem.
As the previous answer couldn’t help me to solve it, I share what I had to do in order to makes it work.
First of all:
Change the variable Random from string to Int32.
Then: On the 2 Flow decision activities when you enter Guess = Random and Guess < Random replace them respectively by Guess = Random.ToString and Guess < Random.ToString
Normally with these modifications you can run the guessing game.