Simple Array Process

posted by .

need help with this

generate only the pseudocode. No charting is required, but you will have to incorporate the bubble sort algorithm to ensure the selling prices are in order so you can determine the median selling price. Do not assume that they will be entered in order.


Problem:

Input the selling prices of all homes in Botany Bay sold during the year 2002 and determine the median selling price. The median of a list of N numbers is The middle number of the sorted list, if N is odd. The average of the two middle numbers in the sorted list, if N is
even.(Hint: After inputting the prices into an array, sort that array.)

Respond to this Question

First Name
School Subject
Your Answer

Similar Questions

  1. pseudocode programming

    Develop an algorithm or write pseudocode to determine if a citizen is eligible to vote. The criteria for eligibility are that the citizen must be 18 or older and must not be a convicted felon. The algorithm must continuously accept …
  2. math

    Below are the median prices of homes sold in 2009, by region of the country. South 158,300 Northeast 248,800 Midwest 139,500 West 243,200 U.S. 180,100 The median selling price of a home in the South was approximately what fraction …
  3. CIS/Visual Logic

    Design an application that accepts 10 numbers and displays them in descending order. Us an array to store the numbers and Bubble Sort to sort the numbers.
  4. Math Statistics

    The sorting algorithm known as bogosort can be described in pseudocode as: while not isSorted(input): shuffle(input) If we feed bogosort a shuffled array of length n of unique items the distribution of the number of times bogosort …
  5. Discrete Mathematics

    Use Bubble Sort to sort the list: 7, 12, 5, 22, 13, 32 What is the maximum number of comparisons required for a list of 6 numbers?
  6. Programming Logic & Design

    Modify the previous process to store the scores in an array. You will need to use either parallel arrays or a two-dimensional array in order to store the score, slope and rating for each entry. In the loop you created in the previous …
  7. Computer

    Create an algorithm, flowchart, and pseudocode for a solution of the following problem. This solution will include the use of arrays needed to complete all parts of the logic. You have requested to develop a program that will record …
  8. discrete math

    A bubble sort begins with the array: 372418 Work through the lists obtained at each step of the bubble sort. Complete the table below for the intermediate step where 7 is at position four in the array. [][][]7[][]
  9. computer science

    create an algorithm, owchart, and pseudocode for a solution of the following problem. This solution will include the use of arrays needed to complete all parts of the logic. You have requested to develop a program that will record …
  10. programing

    create an algorithm, flowchart, and pseudocode for a solution of the following problem. This solution will include the use of arrays needed to complete all parts of the logic. You have requested to develop a program that will record …

More Similar Questions