#include using namespace std; // function prototypes void big_banner(); void little_banner(); double process_data_set(); void display(int set, double number); int main() // the main is used as a driver - dictating what needs to be done { double value; big_banner(); // display the banner value = process_data_set(); // get & avg the 1st set of data display(1, value); // display avg graphically little_banner(); value = process_data_set(); // process the 2nd set of data display(2, value); big_banner(); // display the banner again to finish up return 0; } void big_banner() // display banner { cout << "*******************************************************************"<> x >> y >> z; avg = (x + y + z)/3.0; return avg; //return the average to the calling function } void display(int set, double number) // displays info related to data set & average { cout << endl << endl << endl; cout << "The average of data set " << set << " is " << number << endl; return; }