Write a program file_max.c that reads a set of integer numbers from a file and prints out the maximum number to standard output. The name of the input file should be specified as a command line argument. Solution #include<stdio.h> int main(int args, char *argv[]){ if (args != 2){ printf(\"invalid execution\"); exit(0); } FILE *fp; char ch; fp = fopen(argv[1],\"r\"); int max,n; fscanf(fp,\"%d\",&max); while((ch = fscanf(fp,\"%d\",&n))!=EOF){ if(n>max) max = n; } printf(\"The max number in the file is : %d\",max); return 0; } -------------------------- execute this with the required file name. .