Question: Write a program that writes 100 random integer numbers between 1000 and 2000 into the file all.txt. Then, it reads from the file and separates

 Write a program that writes 100 random integer numbers between 1000

Write a program that writes 100 random integer numbers between 1000 and 2000 into the file all.txt. Then, it reads from the file and separates the numbers into two other files odds.txt and evens.txt. 1/ Paste your code here

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!