Question: cosc 1437 please try do all question please write in c ++ Assume that you will be given a *.txt file, which in the same


cosc 1437 please try do all question please write in c ++
Assume that you will be given a *.txt file, which in the same format of RandSource.tx (attached). The file has three numbers at each line. Numbers are separated with a space All number are in the range of [0,50]. The first two numbers indicate a range. The third one shows number of random numbers to be generated between first and second numbe The range always given in first second order. If not, raise an error. For example, 257 means that you need to generate 7 random numbers in the range of 2 - 5 (includin 2 and 5). You need to develop a complete C++ program to read each line from the .txt file and pr the result on screen in a formatted way. The output format will be first number>-
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
