You just want to round random numbers, or scale/project them after the generating.
This is... multiplication. Sample: (Live On Coliru)
#include <random>
#include <iostream>
int main()
{
std::mt19937 engine(time(NULL));
std::uniform_int_distribution<int> dist(0,10); // arbitrary range chosen
for (int i=30; i>0; --i)
{
int random = dist(engine);
std::cout << (random*10) << "\t" << (random*20) << "\t" << (random*10 + 15) << "\n";
}
}
Output:
90 180 105
30 60 45
90 180 105
50 100 65
70 140 85
10 20 25
40 80 55
30 60 45
80 160 95
60 120 75
0 0 15
40 80 55
20 40 35
20 40 35
90 180 105
50 100 65
80 160 95
0 0 15
0 0 15
0 0 15
40 80 55
50 100 65
10 20 25
60 120 75
100 200 115
80 160 95
70 140 85
90 180 105
30 60 45
60 120 75