Question: Programming Question (40 points) Write a program that reads in the text file names.txt provided in the assignment folder in blackboard. You MUST use individually

 Programming Question (40 points) Write a program that reads in the
text file "names.txt" provided in the assignment folder in blackboard. You MUST

Programming Question (40 points) Write a program that reads in the text file "names.txt" provided in the assignment folder in blackboard. You MUST use individually in a loop checking for the end-of-file condition. You are allowed to use a fixed size array for this project. Assume a maximum file size of 100 entries. Make sure you count how many you retrieve from the file! the OpenTextFileReader approach and read each line Your program should then display all of the names, in the provided order, in a list box on the left hand side of the form You should then create two buttons on your form. One button will sort the list into ascending order, the other descending order. You may use any sort algorithm that you want though I would suggest the Bubble Sort is easiest to code. You must write your own version of the sort algorithm. The result of the sort should then be displayed in a separate list box on the right hand side of the form. Something similar to the following: NOTE: You must write your own SORT routine. You are not allowed to use the internal Visual Basic Sort

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!