The code should be in C language
Write a program to read-in a sequence of integers from thekeyboard using scanf( ) and write out those integers into a filecalled “out.txt” one-value-per-line. Your program will begin byopening an output file called “out.txt” in the same directory fromwhich your program is run. Use a while( ) loop to read integersfrom the keyboard until the user enters ctrl-Z (EOF) from thekeyboard. When scanf( ) reads-in a valid integer, it will returnthe value +1. When scanf( ) tries to read-in ctrl-z (EOF), it willreturn a value of -1, indicating that it did not read-in a
PayPal Gateway not configured
PayPal Gateway not configured