Question: a single dimensional array can store values of different data types.Problem Description: A single - dimensional string array is in parallel with a two -
a single dimensional array can store values of different data types.Problem Description:
A singledimensional string array is in parallel with a twodimensional integer array.
Singledimensional string array needs sorting in ascending order. This program uses
the BUBBLE SORT algorithm to sort the single dimensional string array, while
swapping row elements of the two dimensional integer array as needed.
Sample Run:
Enter the number of rows:
Enter the number of columns:
Enter string element number : RowOne
Enter integer element number :
Enter integer element number :
Enter integer element number :
Enter integer element number :
Enter string element number : Rowiwo
Enter integer element number :
Enter integer element number :
Enter integer element number :
Enter integer element number :
Enter string element number : RowThree
Enter integer element number :
Enter integer element number :
Enter integer element number :
Enter integer element number :
Array before Sorting:
RowOne
RowTwo
RowThree
Array after Sorting:
RowOne
RowThree
RowTwo
A Study the above Sample Run and make notes of what you can interpret
examining the run.
B Create a new C MS Visual Studio project file named
YourFirstNameLasiNameBubble
C Add a New Item under Source Files and name it
YourFirstNameLasuameBubble
D Download and Copy the contents of ProgramOneDocumentBubbleSort.docx
into your empty new source file. Now you have a program
E Run the program, with the with the data given above and examine your run.
There is a difference. Make a note of it
F Note that most Comments have a number. Replace the number with the
appropriate words to accurately state the comment.
G Use examples given in WEEK TWO module to complete the Top Documentation
correctly and fully.
Pool of words some words might be used multiple times and
there extra words in the pool too:
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
