If the number exist in the file, display an error message.

0 votes
asked Apr 18 by Lumbini Bimsara (140 points)
Write a C program enter a number from the key board and store it in the text file called “number.dat”. If the number exist in the file, display an error message. Program should allow to input numbers until user input -99.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.
...