The average and how many scored below

Assignment Help Basic Computer Science
Reference no: EM13796718

Professor Merlin has asked you to help him. He has 100 total students in his four classes but he is not sure that all of them took his last exam. He wants to average the grades for his last exam in four sections of his medieval literature course and then determine how many students scored above the average and how many scored below. Without arrays you would have to enter all the test scores, find their average, and then enter them again to determine how many exceed the average. But you know how to use arrays, so you won't need to enter the input a second time.

Your logic will consist of using four arrays, one of each class with 25 students each. You will calculate the average grade for each class and how many student's grades are above and below that average.

You logic design will have create the arrays, load the arrays, accumulate the total of all grades (we will assume that all arrays have 25 elements each), calulate the average grade. After that you will need to loop throw each array start at the top, and compare each to the average to count how many grades where above the average and how many below (if the student grade is equal to the average they are above the average).

At the end of your program you will print out the following information: each class's average, then number of grades above and below average.

 You must submit both the pseudocode and the flowchart for this assignment. Save your flowchart and pseudocode in the same document (PDF or doc) then drop them into the assignment dropbox.

 

 

Reference no: EM13796718

Questions Cloud

Explain why the cost structure associated : Explain why the cost structure associated with many kinds of information goods and services might imply a market supplied by a small number of large firms. (At the same time, one internet business such as grocery home deliveries have continually suff..
Create a class list containing class node : 1. Create a simple linked list program to create a class list containing class node { void *info; node *next; public: node (void *v) {info = v; next = 0; } void put_next (node *n) {next = n;} node *get_next ( ) {return next;} void *get_info ( ) {retu..
The role of oxygen in cellular respiration issues : What method is often used by cells to move large solid material into the cell?
A country will likely experience an increase in poverty : A country will likely experience an increase in poverty if
The average and how many scored below : Professor Merlin has asked you to help him. He has 100 total students in his four classes but he is not sure that all of them took his last exam. He wants to average the grades for his last exam in four sections of his medieval literature course and ..
What is political rule in augustine : What is political rule in Augustine? How does he use the distinction between the civitas Dei and the civitas terrena in constructing his notion of the state?
What role do it systems play in marketing : What role do IT systems play in marketing
What is the relationship between temperature and color : What is the relationship between temperature and color? What is the relationship between temperature and absolute brightness? How can we tell red giant stars are very large in diameter by looking at their location on the H-R Diagram
Significantly increased spending on capital goods : A newspaper recently reported that U.S. businesses have significantly increased spending on capital goods. What effect might this trend have on U.S. labor markets?

Reviews

Write a Review

 

Basic Computer Science Questions & Answers

  Case study - casey anthony trial

Determine whether the software issue, which caused inaccurate evidence in the trial, would've affected your perception of the prosecution's case if you were a juror in this trial.

  Database trends

Database Trends

  How to identify duties of the lab employees

Assume that you decide to set up a computer forensics laboratory. Submit a planning report for your lab with the following components.

  Describe significance of having test coupled with real users

Describe the significance of having test coupled with real users' views of product at the end of development effort,even if it is test of a prototype and not the completely developed software.

  Specifically, for the session long project for this module

Specifically, for the Session Long Project for this Module, you are to review the Mitnick Security Consulting website [available at http://mitnicksecurity.com/]. Kevin Mitnick was for a number of years one of the most successful bad-guy hackers in th..

  Article on visual basic programming

Find a current article about Visual Basic® programming best practices and write a 1- to 2-page paper discussing its relevance to this course

  Mainframes are perceived as being more robust

QUESTION 1 Mainframes are perceived as being more robust than n-tier server architectures. True False

  Why an organization prefer one approach over the other

As a system analyst, which would you prefer? Why? Can the two approaches be successfully combined? Explain. In all cases, support your analysis with specific examples from your readings, research, and professional experience (if applicable).

  Design a program that asks for the price of each item

Design a program that asks for the price of each item, and then displays the subtotal of the sale, the amount of the sales tax and the total.

  Why is crm so much broader than ar management

Why is CRM so much broader than AR management? What new elements does this ERP function bring to organizations?

  This part along with submission

This part along with submission 6 combined make up the documentation for project proposal and implementation. You are free to extend the proposal section but you must include the sections listed in this document. Ensure that the sections are easy ide..

  What is the electronic communications privacy act

1. What is the Electronic Communications Privacy Act (ECPA) of 1986? Please use outside resources to assist with your answer.

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