Display the median of the grades

Assignment Help Computer Engineering
Reference no: EM132194486

Question :

Write a C# console program that asks the user how many grades there are, inputs the grades, and displays the median of those grades.

Your program must:

1. Store the grades in an array.

2. Handle up to 20 grades

3. Sorts the array of grades.

4. Have a method that takes a sorted array of grades. It returns the median of those grades.

5. Use at least one reference or output parameter

Sample Output

Please enter the number of grades: 6

Please enter grade #1: 85.2

Please enter grade #2: 92.3

Please enter grade #3: 78.0

Please enter grade #4: 51.5

Please enter grade #5: 91.6

Please enter grade #6: 87.0

The median grade is 86.1

Reference no: EM132194486

Questions Cloud

Positive and negative factors of using social media : What are positive and negative factors of using social media in hospitals?
What is the new range : In the absence of air resistance, a projectile is launched from and returns to ground level. It follows a trajectory similar to that shown in the figure.
Describe the employer mandate : Describe the employer mandate. What unintended behavioral change (by employers) do you think this mandate will cause?
What is the magnitude of the squirrel displacement : Two trees have perfectly straight trunks and are both growing perpendicular to the flat horizontal ground beneath them. The sides of the trunks that face.
Display the median of the grades : Write a C# console program that asks the user how many grades there are, inputs the grades, and displays the median of those grades.
Find the current through a loop : Find the current through a loop needed to create a maximum torque of 9.4 N · m. The loop has 43 square turns that are 19.1 cm on a side and is in a uniform.
Poor communication and poor management development : How to complete an implementation schedule to improve team work, poor communication and poor management development?
Calculate the de broglie wavelength of the bullet traveling : A certain rifle bullet has a mass of 6.45 g. Calculate the de Broglie wavelength of the bullet traveling at 1169 miles per hour.
Write a c function which prints a frequency histogram : Write a C function which prints a frequency histogram of words in a given sentence.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Write a function to calculate the dft

In Matlab, write a function to calculate the DFT using simple multiplications and summations, write a function to implement the fast fourier transform, and write a function to reorder an array according to bit reversed index. Please provide all co..

  Who is protected by hippa and who must comply with hippa

Who is protected by HIPPA? Who must comply with HIPPA? What is the relevance of health care plans, providers and clearinghouses?

  Explain devise a signal conditioning system

Devise a signal conditioning system that will provide an appropriate digital output to a computer. Specify the requirements on the ADC and appropriate analog conditioning to interface your ADC.

  Describe a hypothetical situation

Provide a real-world example or describe a hypothetical situation in which a legitimate organization used spam in an effective and nonintrusive manner.

  Configuring x-lite softphones

Configuring Phone Extensions on the Elastix Server, Configuring X-lite Softphones

  Demonstrate you successfully followed the steps in the lab

Demonstrate you successfully followed the steps in this lab by preparing screen captures of you running the lab as specified in the Instructions above.

  Multi-dimensional arrays can cost a lot of memory

Multi-dimensional arrays may cost a lot of memory. How much memory (how many bytes) does it take to create an integer array of 3 dimensions, with each dimension having 1000 elements (i.e. int myHugeArrays[1000] [1000] [1000]).

  Determine the throughput using frame relay transmission

Assume that all physical circuits operate at the same transmission speed and have the same bit error rate p.

  Improving the usability of health information systems

This Discussion is based on the lecture video Improving the Usability o fHealth Information Systems

  Identify the key features of a laptop and a tablet next

explain the main factors that you should consider before deciding between a laptop or a tablet to buy.identify the key

  Discuss about testing software for security

List and explain at least two things you can achieve by testing software for security Issues. Research a unique news story or article related to Information.

  Who can change operating system data

On your personal computer, who can install programs? Who can change operating system data?

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd