0
a Java program that opens three files; even.txt, odd.txt and both.txt.
The both.txt file should have even and odd numbers that the program should read from the both.txt file and write to either even.txt or odd.txt file depending on the number read. I'm a beginner, so your help will be highly appreciated 👏🏾
3 odpowiedzi
+ 5
Start learning the basics with the sololearn Java course
https://www.sololearn.com/Course/Java/?ref=app
If you need help then, please link your code, so we can check on it
+ 2
+ 2
And using the modulo operator (%) will help with sorting out the even and odd numbers.