Logo

Write a program to read an integer and if the integer is positive write it to the file “pos.dat” otherwise “neg.dat”.

2024 · Solved Question with Answer

Write a program to read an integer and if the integer is positive write it to the file “pos.dat” otherwise “neg.dat”.

Solution

Please login to view the answer.