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

  What window events can a program handle

Explain the difference between the WindowListener interface and the WindowAdapter.

  A photo-sharing startup offers

A photo-sharing startup offers the following service. A client may upload any number N of photos and the server will compare each of the N pairs of photos with their proprietary image matching algorithms to see if there is any person that is in both ..

  You were recently hired by a company which is spread over

you were recently hired by a company that is spread over several buildings along several city blocks and uses a man

  Write a program with boolean variables to assign values

Write a program with boolean variables to assign the values of the following boolean expressions. AGer each assignment statement, output the value of the boolean variable with the proper legend.

  How do we implement the posix api

how do we implement the POSIX API

  Entity process and code quality

Define a measure that can be used to judge a code's quality. Name one situation you could use this measure

  List the sequence in which all constructors

list the sequence in which all constructors and destructors are called. Also, provide the explanation for why they are called in this sequence.

  Why can i only see up to the index of this book

Why can I only see up to the index of this book? I understand it's a large book and you may only want to give the reader access to part of the book, but if it's read only until I get my book in the mail, why can't I see the whole book

  Executing intrusion detection system

Your company is trying to decide whether to execute intrusion detection system (IDS), or intrusion prevention system (IPS).

  Recognize all the potential security threats on a personal

computer security is not an issue for organizations alone. anyone whose personal computer is connected to a network or

  Discuss difference between microcontroler and microprocessor

Discuss the differences between microcontrollers and microprocessors.

  How much objective function coefficient decreases

Implement the following LP model in a spreadsheet. Use Solver to solver the problem and create a Sensitivity Report. How much can objective function coefficient for variable X2 decrease before changing optimal solution?

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