Write a program that generates a set

Write a program that generates a set of random numbers and writes them to a file specified by the user. The program will prompt the user to enter the number of random numbers to generate and the full path of the file they wish to save the numbers to. Then the program will generate the random numbers and write them one by one to the file.

 The random numbers should be separated by a new line character. The random numbers should be in the range of 0-100 inclusive. 

"Get 15% discount on your first 3 orders with us"
Use the following coupon

Order Now