How do I write a java program to generate 10 numbers and write them to a file?
Let say I wanted to use random numbers between 100 and 200
The solution attached has all the required code that is needed to generate the random numbers and write them to the file. I have commented the code in best possible manner so that you can understand it better. Enjoy !