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 64 43 41 6 12 93 53 92 23 5 37 12 14 56 30 87 97 79 2 69

Solution