Question: write in C++ plz Exercise#1: Random Numbers Write a program that generates and prints n random numbers in the range [15, 213] inclusive. The program
Exercise#1: Random Numbers Write a program that generates and prints n random numbers in the range [15, 213] inclusive. The program then reads a number in the range [15, 213] and checks whether that number is one of the generated numbers or not. Print 7 numbers per line, see sample input/output. Sample Input/Output: Enter how many numbers: 20 The 20 generated numbers are 194 73 69 141 39 48 67 112 16 174 89 34 15 128 31 nter a number in the range [15, 213]: 7:3 82 183 188 189 73 is one of the generated numbers
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
