Need help with the following For this project you will write a program to comput
ID: 3555225 • Letter: N
Question
Need help with the following
For this project you will write a program to compute the arithmetic mean (average), median, and mode for the values read in from TopicFin.txt. The program results will be written to TopicFout.txt.
The program will have a vector and an array. The vector will contain the values read in from the file. The array will contain those values in sorted order. You can assume that there will be no more than 1300 values. However, your program must handle files values less than 1300. You can assume that a file will have values and that these will be valid values.
At a minimum your program must have the following functions:
Explanation / Answer
#include<iostream>
#include<fstream>
#include<algorithm>
#include<vector>
using namespace std;
//readInput
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.