Question: I need the program to put those 5 numbers in ascending order, how would i go about doing that with a flowchart in the visual

I need the program to put those 5 numbers in ascending order,I need the program to put those 5 numbers in ascending order, how would i go about doing that with a flowchart in the visual logic program. if the assignment was

Create a Visual Logic flow chart with four methods. Main method will create an array of 5 elements, then it will call a read method, a sort method and a print method passing the array to each. The read method will prompt the user to enter 5 numbers that will be stored in the array. The sort method will sort the array in ascending order (smallest to largest). The print method will print out the array. A sample run might look like this: Please enter a number: 2 Please enter a number: 7 Please enter a number: 1 Please enter a number: 10 Please enter a number: 3 Your numbers are: 1, 2, 3, 7, 10

Please enter a number: 1 Please enter a number: 2 Please enter a number: 3 Please enter a number: 4 Please enter a number: 5 hank you! Here are the numbers in ascending order. myArray(0) is: 0 myArray(1) is: 0 myArray(2) is: 0 myArray(3) is: 0 myArray(4) is: 0

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!