Question: In c program Develop a program that accomplishes the solution to the following instructions: Read a text file that contains a series of 50 integer
In c program
Develop a program that accomplishes the solution to the following instructions: Read a text file that contains a series of 50 integer numbers into an array. Your solution should: 1. Read a textfile named: fiftyrandom.txt 2. Store the numbers in an array of in- teger. 3. Use a bubble sort routine to order (sort) the numbers from low to high. 4. Use a loop to display the sorted num- bers on the screen.
Numbers that will be in the txt file 41 23 15 15 6 58 57 91 87 86 19 18 96 90 74 52 88 5 14 8 97 7 88 35 40 81 72 9 88 50 16 41 84 41 20 21 46 88 44 77 52 74 64 25 35 33 72 30 17 85
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
