Write a full C++ program that uses a void function sortInt(required parameters) that receives an array of integer number
Posted: Thu Jul 14, 2022 2:19 pm
Write a full C++ program that uses a voidfunction sortInt(requiredparameters) that receives an array of integer numbersand the array size. then sort the values in increasing order(ascending order). Also, create a void functionprintdata(required parameters) to print the arraybefore and after sorting.
1- Print the array before sorting
2- make sorting
3- print the array after sorting.
Note:
1- No algorithm or pseudocode is required just a c++code.
2- Use comments to explain the code.3- prompt the user to respond to something or enterinformation.
1- Print the array before sorting
2- make sorting
3- print the array after sorting.
Note:
1- No algorithm or pseudocode is required just a c++code.
2- Use comments to explain the code.3- prompt the user to respond to something or enterinformation.