Pure Programmer
Blue Matrix


Cluster Map

Project: Random Integers

Write a program to generate a random list of integer values. The program should accept three values on the command line: minimum value, maximum value and the number of integers to generate. The integers should be printed one per line.

Output
$ g++ -std=c++17 RandomIntegers.cpp -o RandomIntegers -lfmt $ ./RandomIntegers 1 100 20 36 77 23 40 19 59 87 88 52 90 60 7 4 8 45 87 99 1 42 24

Solution