C++ random number from a set
- by user69514
Is it possible to print a random number in C++ from a set of numbers with ONE SINGLE statement?
let's say the set is 2, 5, 22, 55, 332
i looked up rand, but I double it's possible to do in a single statement