79
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