Write a program that will ask the user to enter quiz scores

Assignment Help Programming Languages
Reference no: EM131207306

Your problem is as follows:

Write a program that will ask the user to enter 4 quiz scores for 3 students.  You will need to fine the lowest quiz grade and drop it out when you calculate the average.

You will need to display all 4 quiz scores for each student as well as the lowest score and the average. Don't forget to validate the scores when you get them. Don't forget to drop the lowest score in your calculation.

You can assume that all quizzes will be out of 10pts.

Requirements:

- Need to create a 2D array for the scores

- Need 2 1D arrays for lowest score and average

Input:

- Quiz scores for each student

EX:

7      8     3      9

6      7     4      8

9      5     3      3

Output:

- All four scores, the lowest, and the average score

EX:

Q1       Q2     Q3    Q4     Low   Avg

7          8       3       9        3      8.0

6          7       4       8        4      7.0

9          5       3       3        3      5.7

Functions:

- intfindMin(int student, int scores[3][4])

  • Finds the minimum quiz score for any given student
  • Returns the minimum

- void printTable(int scores[3][4], int min[3], intavg[3])

  • Prints the output to the screen

- float getAverage(int student, int min, int scores[3][4])

  • finds the average of the 3 quiz scores for a given student
  • ignores the minimum score
  • returns the average

You must use the functions EXACTLY. And remember: Be sure to ERROR CHECK.

Reference no: EM131207306

Questions Cloud

Find the voltage v for the elements of given figure : Find the voltage v for the elements of given figure using complex algebra. - Sketch the waveforms of v and i on the same sewt of axes.
What role does the crime control perspective play : How do you balance the ideals and principles set forth in the Constitution with the realities discussed in the articles presented to you? What role does the crime control perspective play in your thinking regarding the application of the Constituti..
Steel and iron ore resources : What are some strategies that Australia can use to export their steel and iron ore resources?
Write a business letter to an accounting client : These notes will guide you in writing a business letter to an accounting client. An effective letter meets your receiver's needs. In this case, it answers the client's questions in a clear, accurate, concise way.
Write a program that will ask the user to enter quiz scores : Write a program that will ask the user to enter 4 quiz scores for 3 students.  You will need to fine the lowest quiz grade and drop it out when you calculate the average
Savings account that pays interest rate : If you put $4000 in savings account that pays interest rate of 4%, compounded annually, how much will you have in 5 years? How much interest will you earn during the 5 years? If you put $4000 each year into a savings account that pays interest at ..
Describe and explain the warning signs of melanoma : What is the ploidy of the cells produced? Are daughter cells identical or different to each other? Describe and explain the warning signs of melanoma. (ABCDs). What are four characteristics (behaviors) of all cancer cells?
Calculate total impedance of the circuits of given figure : Calculate the total impedance of the circuits of given figure. - Express your answer in rectangular and polar forms, and draw the impedance diagram.
Summarize the recommendations of the authors : Summarize the recommendations of the authors. Summarize the discussions with your peers from your Week Four discussion, "Homeland Security Influence: Part II." Analyze the article as it applies to the criminal justice policy issue. (T..

Reviews

Write a Review

Programming Languages Questions & Answers

  Write a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

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