Question: Answer in C++ language please** I got stuck. How do I find the Overall Average,Overall Highest number, and the Overall Lowest Number after all of
Answer in C++ language please**
I got stuck. How do I find the Overall Average,Overall Highest number, and the Overall Lowest Number after all of this??
#include
const int ALIASFILE_LINE_COUNT =16; const float USERBONUSLEVEL = 75.09; const float USERAWARDLEVEL = 80.72; const int USERBONUS = 5; const int USERAWARD = 8; void selectionSortAsc( double list[], int length);
int main() {cout <<" project 3 template,.. ,...includes global constants for project. "<
// 3. GET RATE - read & display alias.txt file to verify. string info1,info2,info3,info4,info5,info6,info8,info9,info10,info11,info12,info13,info14,info15,info16,info17,info18; double rate; string a; string b; const int size = 50; while ( fileName ) { if (fileName == false) cout<<"Could not open the input file"< // read another record getline(fileName,info1); getline(fileName,info2); getline(fileName,info3); getline(fileName,info4); getline(fileName,info5); getline(fileName,info6); fileName>>a>>b>>rate; getline(fileName,info8); getline(fileName,info9); getline(fileName,info10); getline(fileName,info11); getline(fileName,info12); getline(fileName,info13); getline(fileName,info14); getline(fileName,info15); getline(fileName,info16); getline(fileName,info17); getline(fileName,info18); } // display outFile< // 4. load the arrays with the values // declaring 2-D array of 4 rows and 7 columns double A[4][7]; // opening files // opening files cout<<"_____________________________________________________"< for(int i=0; i<4; i++){ for(int j=0; j<7; j++){ values[j]=A[i][j]; } selectionSortAsc(values,7); for(int k=0; k<7; k++){ A[i][k]=values[k];
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
