#include #include // Append the numbers 100 to 119 to the file out.txt int main() { FILE *out; // file pointer int i; out = fopen("out.txt", "a"); // open the fille in append mode for(i=100; i< 120; i++) fprintf(out, "%d\n", i); // write the additional numbers fclose(out); // close the file system("pause"); }