I want to get n random numbers(e.g n=16)(whole numbers) between 1 to 5(including both) so that average is x.
n
x can be any value between (1, 1.5, 2, 2.5, 3,
I would implement it like this: