#include void main() { FILE *fp; char s[81]; fp = fopen("input.txt", "r"); // 파일 열기 while(!feof(fp)) // 파일의 끝이 아니라면 { fgets(s, 80, fp); // 최대 80칸짜리 한줄 읽기 puts(s); // 한줄 출력 } fclose(fp);} Example 4: Write a function that sums up integers from a text file, one int per line.#include #include int main(int argc, char* argv[]){ FILE *fp; int score; int total=0; fp = fopen("score.txt", "r");..