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.
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..
|