Welcome guys to my 2 nd post in my first post i have told everyone the well wishes and even i have told to give tutorials related to C++ and moreover we all are more genius so we need more so in that fact you even send me messages and even chat with me in Facebook in my profile as Ashish d Trailblazerr
and then shuffle and show a no that would be the actual digit for the winner
as shown in the picture below
So in this post i wanna show you the power of Random nos
Random nos is the only thing that it shuffles the thing from a selected no inputted by the user it has much advantages and much uses of itIt can be used to simply write a program of a game that would shuffle the no of players
and then shuffle and show a no that would be the actual digit for the winner
as shown in the picture below
Here i have just written a simple program and it worked exactly as in the picture highlighted the no
and given a function to randomize it

Now random(no) will shuffle the nos from 0-N and by this we will have a resultant no as an output
below pic

""
Here as you can see the no 2 is selected after shuffling and this will not even repeat consequently this is a nice programme to make a small game of some students
So guys today upto this much and we will now find new ways to make use of this randomize function even in bringing new and even cool outputs
""
So upto that stay TUNED..................
and given a function to randomize it
Now random(no) will shuffle the nos from 0-N and by this we will have a resultant no as an output
below pic
""
Here as you can see the no 2 is selected after shuffling and this will not even repeat consequently this is a nice programme to make a small game of some students
So guys today upto this much and we will now find new ways to make use of this randomize function even in bringing new and even cool outputs
""
So upto that stay TUNED..................
No comments:
Post a Comment