#include <stdlib.h>
#include<math.h>
#include<stdio.h>
#include<string.h>
#define inp_file "c:/code/temp/temps.txt"
#define out_file "c:/code/temp/averages.txt"
#define debug 1
int main(void)...
Type: Posts; User: uneasybbj
#include <stdlib.h>
#include<math.h>
#include<stdio.h>
#include<string.h>
#define inp_file "c:/code/temp/temps.txt"
#define out_file "c:/code/temp/averages.txt"
#define debug 1
int main(void)...
Can anyone give me the code to make pelles C read numbers from a file, and then write to another file the average, high, and low temperatures, in that order.