This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <iterator> | |
#include <algorithm> | |
using namespace std; | |
double average(double *numbers, const int arraySize); | |
void sortArray(double *numbers, const int arraySize); | |
const int arraySize = 4; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <iterator> | |
using namespace std; | |
size_t sortArray(int *values, size_t numberOfElements); //prototype | |
size_t average(int *); | |
int main() | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <iomanip> | |
using namespace std; | |
const int rows = 4; | |
const int columns = 6; | |
void print_array(int array[][6], int); | |
int main() | |
{ |