Question: *Values must be stored in array numb, with function named lo_2_hi that will accept the array of numbers as an argument and sort numbers in
*Values must be stored in array "numb", with function named "lo_2_hi" that will accept the array of numbers as an argument and sort numbers in increasing order*
*Preferably static array*
Write a C++ program that prompts the user for 5 numbers. The values shall be stored in an array name numb. You must have a function named lo_2_hi that will accept the array of numbers as an argument and will sort the list of numbers in increasing order. The list of increasing numbers must replace the original list of numbers in numb and be returned to the main function where it will be output to the screen. No global variables can be used.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
