so for my project I found a skeleton that it\'s supposed to conform to. it looks
ID: 3560318 • Letter: S
Question
so for my project I found a skeleton that it's supposed to conform to. it looks like this. all the same error and succuess messages apply.
To those that Have been helping me so much, would it be possible to take your code and have it conform to this skeleton? also, it looks like the array needs to be able to hold up to 100 numbers from the vertical list on the text file.
Thank you so much! I promise this will be my last question! if you want you can post answers in chunks and I can reward you more than 1500 points through posting this question in three or four parts if this question seems too long.
Also,
Heres how the output.txt file is supposed to look.
Explanation / Answer
#include #include #include #define INFILE "input.txt" #define OUTFILE "output.txt" #define MAXSIZE 100 double sum(double data[],int n); double mean(double data[],int n); double min(double data[],int n); double max(double data[],int n); double stdDev(double data[],int n); int getData(double data[]); void printArray(double array[],int n); void saveOutput(int n,double min,double max,double sum,double mean,double stdDev); int main(int argc, char *argv[]){ double data[MAXSIZE]; double sumVal,minVal,maxVal,meanVal,stdDevVal; int n=getData(data); if(nRelated Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.