Dr. A.P.J. Abdul Kalam Technical University (AKTU), Lucknow
39. Write a program to read numbers from a file and then write all ‘odd’ numbers to file ODD.txt & all even to file EVEN.txt.
Sample Input and Output
file.txt odd.txt even.txt
Input file path: file.txt
Input Odd.txt file path: odd.txt
Input Even.txt file path: even.txt
File Saved Successfully.