Javatpoint Logo
Javatpoint Logo

Go Random Number Generation

We can generate random number using rand object. We should provide some seeding to rand object so that the number generated are different. If we does not provide the seeding then the compiler always produce the same result.

Go Random Number Generation

Output:

81
0.9405090880450124
17

Next TopicGo Sorting




Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


Preparation


B.Tech / MCA