Code:#include< iostream > #include< iomanip > #include< cstdlib > #include< ctime > #include< cstdio > #include< fstream > const int MAXVALUES = 1000; using namespace std; void Bubblesort(int values); int main() { //Declare the streams and the input and output files ifstream inFile; ofstream outFile; inFile.open("A:/input1.txt"); outFile.open("A:/output1.txt"); int i = 0; int sortValue[MAXVALUES]; while(i < MAXVALUES && inFile>> sortValue[i] ) { i++; } for(i=0; i<MAXVALUES; i++) { cout>>sortValue[i]; } return 0; } void Bubblesort(int values) { }