Design and implement a class called grades

Assignment Help Business Management
Reference no: EM132277877

Design and implement a class called Grades that stores an array of int (grades). The class will contain the following methods/operations:

1) highest - returns the highest grade

2) lowest - returns the lowest grade

3) number of grades - returns the number of grades in the array

4) average - returns the average of all the grades

5) number of failing grades - takes in a grade value and returns the number of grades below the input grade value.

6) histogram - creates a histogram that allows you to visually inspect the frequency distribution of grades.

90 - 100 | ****
80 - 89 | **********
70 - 79 | ********
60 - 69 | ****
< 60 | **

Write a main method to test out this object. In the main program, allow the user to enter the grades into the array. Since you would need to know the size of the array beforehand, you would prompt the user to first enter the number of grades and then prompt the user to enter each grade. Valid grade values are 0 - 100 inclusive.

Reference no: EM132277877

Questions Cloud

Write a detailed financial plan for Fox and Dana : FSM 611 Case Study Assignment - Write a detailed financial plan for Fox and Dana, together with a cover letter/ executive summary
Lamport logical clocks does not scale : We have stated that totally ordered multicasting using Lamport's logical clocks does not scale. Explain why.
How are risk and materiality integrated into audit process : In preparation for the Bovar Company's year-end audit, your manager has asked you to create a document about auditing principles and the code of conduct.
What change has occurred in your organization recently : What change has occurred in your organization recently and what kinds of behavior did you observe from the individuals involved with the change?
Design and implement a class called grades : Design and implement a class called Grades that stores an array of int (grades). The class will contain the following methods/operations:
Create a ms word memo to mr jim lane explaining the impact : Explain how a safety and health professional can use the OSHA Safety Pays Tool to effect change in an organization?
How the investment might help the organization : Recommendation: Including how the investment might help the organization to address its current issues or realize its potential for growth.
Company about something unethical : What if you have found that a partner company has offered one of your employees a bribe not to tell your company about something unethical
Each of the components of the hrm system : What is the link between the Job Characteristics model and EACH of the following components of the HRM system - Job Analysis, Selection, Training & Development

Reviews

Write a Review

Business Management Questions & Answers

  Caselet on michael porter’s value chain management

The assignment in management is a two part assignment dealing 1.Theory of function of management. 2. Operations and Controlling.

  Mountain man brewing company

Mountain Man Brewing, a family owned business where Chris Prangel, the son of the president joins. Due to increase in the preference for light beer drinkers, Chris Prangel wants to introduce light beer version in Mountain Man. An analysis into the la..

  Mountain man brewing company

Mountain Man Brewing, a family owned business where Chris Prangel, the son of the president joins. An analysis into the launch of Mountain Man Light over the present Mountain Man Lager.

  Analysis of the case using the doing ethics technique

Analysis of the case using the Doing Ethics Technique (DET). Analysis of the ethical issue(s) from the perspective of an ICT professional, using the ACS Code of  Conduct and properly relating clauses from the ACS Code of Conduct to the ethical issue.

  Affiliations and partnerships

Affiliations and partnerships are frequently used to reach a larger local audience? Which options stand to avail for the Hotel manager and what problems do these pose.

  Innovation-friendly regulations

What influence (if any) can organizations exercise to encourage ‘innovation-friendly' regulations?

  Effect of regional and corporate cultural issues

Present your findings as a group powerpoint with an audio file. In addition individually write up your own conclusions as to the effects of regional cultural issues on the corporate organisational culture of this multinational company as it conducts ..

  Structure of business plan

This assignment shows a structure of business plan. The task is to write a business plane about a Diet Shop.

  Identify the purposes of different types of organisations

Identify the purposes of different types of organisations.

  Entrepreneur case study for analysis

Entrepreneur Case Study for Analysis. Analyze Robin Wolaner's suitability to be an entrepreneur

  Forecasting and business analysis

This problem requires you to apply your cross-sectional analysis skills to a real cross-sectional data set with the goal of answering a specific research question.

  Educational instructional leadership

Prepare a major handout on the key principles of instructional leadership

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