Accept an assignment score as an argument

Assignment Help C/C++ Programming
Reference no: EM132252773

Write a program that asks the user to enter a student's name and 8 numeric assignment scores (out of 100 for each assignment).

The program should output the students name, a letter grade for each assignment score, and cumulative average for all the assignments. Please note, there are 12 students in the class so your program will need to be able to either accept data for 12 students or loop 12 times in order to process all the students in the class.

Write the following functions in the program:

calc_average - this function should accept 8 assignment scores as arguments and return the average of the scores

determine_grade - this function should accept an assignment score as an argument and return a letter grade for the score based on the following grading scale:

90-100 A

80-89 B

70-79 C

60-69 D

Below 60 F

Data for the program:

Lucy Miller 45 69 70 66 87 82 75 73

Frank Jones 90 93 87 84 91 93 90 88

Nancy Franklin 99 97 92 90 88 89 87 90

Judy Forsyth 72 86 59 69 72 78 80 82

Tony Spirit 87 83 86 90 79 76 80 88

Ruth Ames 66 69 72 61 69 73 71 70

John Smith 100 98 89 93 82 86 91 93

Andrew Barnes 78 77 75 83 80 87 80 78

Becky Stone 98 94 90 89 84 83 79 93

Marvin Decker 59 54 61 45 39 66 70 72

Steve Parker 71 78 73 62 66 72 64 70

Frank Harper 89 86 90 92 91 85 88 93

REMEMBER - to put your name on the lab in comments and put comments in your program for what the program is doing.

Reference no: EM132252773

Questions Cloud

Identify why students should learn about political science : Identify why students should learn about political science. Use evidence (cite sources) to support your response from assigned readings or online lessons.
Settlement patterns have on colonial growth and cohesion : What impact did settlement patterns have on colonial growth and cohesion?
How has technology impacted the verbal and nonverbal cues : How has technology impacted the verbal and nonverbal cues used in interpreting messages?
Create one or more point mutations : Create one or more point mutations in this sequence: AUG GAG GUC UUU AAG AGA CAU UUA GAU GUA GCC CUU AGU GAU GUU UAG
Accept an assignment score as an argument : Write a program that asks the user to enter a student's name and 8 numeric assignment scores
Would a visual presentation enhance its effectiveness : Describe a work report that you are required or have been required to complete on a regular basis.
How the given ideology upholds the public good : Using an ideology discussed in the textbook, construct an argument explaining how this ideology upholds the public good by examining power, order, and justice.
What is landed cost in dollars of four-part transaction : A Philippine shipping line will bring gasoline to Miami for 200 Philippine pesos per barrel. What is the landed cost in dollars of this four-part transaction?
Discuss your communication gaps : Discuss your communication gaps. Describe any additional training you need in specific areas of communication.

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Create program that uses functions and reference parameters

Create program that uses functions and reference parameters, and asks user for the outside temperature.

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Write a webservices application

Write a webservices application that does a simple four function calculator

  Iimplement a client-server of the game

Iimplement a client-server version of the rock-paper-scissors-lizard-Spock game.

  Model-view-controller

Explain Model-View-Controller paradigm

  Design a nested program

How many levels of nesting are there in this design?

  Convert celsius temperatures to fahrenheit temperatures

Write a C++ program that converts Celsius Temperatures to Fahrenheit Temperatures.

  Evaluate and output the value in the given base

Write C program that will input two values from the user that are a Value and a Base with which you will evaluate and output the Value in the given Base.

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Implementation of classes

Implementation of classes Chart and BarChart. Class barChart chould display a simple textual representation of the data

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

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