Finds the average and prints out a letter grade

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

Question: C++:

Currently working on trying to get my C++ program working and could really use an example to check it against.

WITHOUT USING ARRAYS!

Here's what I know at the moment:

1. I know that I'm creating a C++ program which prompts a user for their grades, finds the average and prints out a letter grade.

2. I know that the program does usesa function called GetGrades, which it calls, that will prompt the user for the number of grades they want to input, and read in those grades from the keyboard. GetGrades will find the sum of those grades and pass the sum and number of grades to another function called FindAverage.

3. I know that FindAverage will find the average of the grades and return this average to GetGrades.

4. I know that GetGrades will return this average to main.

5. I know that the main function will then determine the letter grade that corresponds to the average and print out the average and letter grade.

  • 90-100 A
  • 80-89 B
  • 70-79 C
  • 60-69 D
  • 0-59 F

6. I know that All arguments in this program must be passed by Value. GetGrades and FindAverage functions must return their result to the calling function.

7. I plan to test this using the following output runs:

Run1 - 30, 50, 90, 100.

Run2 - 85, 89, 90, 95, 78, 99.

Run3 - 85, 95.

Reference no: EM132432233

Questions Cloud

Major Social Forces at Work Assignment : Major Social Forces at Work Assignment help and solutions:- Describe at least three of the major social forces that impact work organizations
Develop a program that calculates final score : Develop a program that calculates final score and average score for a student from his/her (1)class participation, (2) test, (3) assignment
Explore applicable concepts within abstract algebra : Examine set theory and functions applicable to software engineering and Investigate solutions to problem situations using the application of Boolean algebra.
Calculate the amount of bond discount or premium : The bonds which were issued at 105, pay interest on January 1 and June 1. Use this information to calculate the amount of bond discount or premium
Finds the average and prints out a letter grade : I know that I'm creating a C++ program which prompts a user for their grades, finds the average and prints out a letter grade.
Personal Reflection Assignment : Personal Reflection Assignment help and solutions:-Were there interpretations of experience that felt were inappropriate
Preparing an informal memo : Preparing an informal memo to explain to Mr. Skaros why his production cost report showed only 2,000 equivalent units in ending inventory
Suppose an age is stored in the int variable age : Suppose an age is stored in the int variable age. Please write the correct C++ instruction to determine if age is less than 13 or greater than or equal to 20?
Global Comparative analysis Assignment : Global Comparative analysis Assignment help and solutions: - Discuss the Global Comparative analysis on China and the United States

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