Question: NOTE: WRITE A C++ PROGRAMME Task 1 (week 1) - Sort a list using a function Write a program to sort a list of numbers

NOTE: WRITE A C++ PROGRAMME
Task 1 (week 1) - Sort a list using a function Write a program to sort a list of numbers of unknown length. Your program must read in a list (of unknown size) of numbers (think about types) from an input file named input.txt, use a function, written by you, to sort the list in ascending order and write the sorted list to an output file named output.txt First draw a flow chart and then attempt the code. Example 1 Example input and output files can be seen in Listings 1 and 2. Listing 1: Example of input.txt 1 - 2 18.25 4 11 59.34 6100 198 899.999 Listing 2: Example of output.txt 2/5 7 33 4 8.25 5 19.34 61 98 99.999 100
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
