Question: A data file has been provided to you with the following populated parallel arrays: items array - contains item descriptions for various eBay auction items
A data file has been provided to you with the following populated parallel arrays:
items array contains item descriptions for various eBay auction items
auctionDates array contains dates for when the respective items go up for auction
startingBids array contains opening bid amounts for respective items
Task : Bubble Sort
Using a for iget item count algorithem in windows small basic, sort items in descending order according to starting bid. When
swapping items, don't forget to swap the item names and auction dates as well!
Task : TextWindow Output and Average Starting Bid Calculation
Write a loop to display the bubble sorted data in the TextWindow and compute an average opening bid.
Use the tab TextGetCharacter to line up your data in columns and
Round the average bid to two decimals. Write the code to save the eBay data to a commadelimited data file in the same directory as the
sb file. In the TextWindow, notify the user that the data file has been saved.
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
