/** 8. Consider the following program that gets three int values from the user and outputs them in ascending order. Write the required function prototypes and function definitions. Compile and run. int main() { int a,b,c; PromptAndGet(a); //Get an int value, a, from the user PromptAndGet(b); PromptAndGet(c); SortAndPrint(a,b,c); // Sort the numbers in ascending order and print //Example: ``The numbers in ascending order are: 3, 7, 19'' } **/ #include using namespace std; void PromptAndGet(double&); void SortAndPrint(double&, double&, double&); int main() { double a,b,c; PromptAndGet(a); //Get a value, a, from the user PromptAndGet(b); //Get a value, b, from the user PromptAndGet(c); //Get a value, b, from the user SortAndPrint(a,b,c); // Sort the numbers in ascending order and print //Example: ``The numbers in ascending order are: 3, 7, 19'' } void PromptAndGet(double& a){ cout<<"Enter a number: "; cin>> a; } void SortAndPrint(double& a,double& b,double& c){ double temp; if(a>b){ temp=a; a=b; b=temp; } if(c