Write a program that will store 7 integers

Assignment Help Programming Languages
Reference no: EM13751089

1. Note that not every function has to have parameters. For example, you have been creating the function main since the beginning, and it is a function without parameters. Using this information, write a function called getLabGrades that prompts the user for each assignment grade (there are 5). Remember that each lab is worth 120 points. Use the following code in main to call it:
int main() {
double labs = getLabGrades();
cout << "Your lab grade is: " << labs << endl;
return 0;
}

2. Using the knowledge gained from assignment 6-1, write a program which calculates your semester grade. Note that there are/will be 23 assignment grades. Also remember that 90% attendance equals 100% of the grade. Also, 85% of the textbook completion equals 100% of the grade. You must use your function getLabGrades and also write and use a function called getAssignmentGrades. You will call getAssignmentGrades like you did getLabGrades:
double assignments = getAssignmentGrades();

3. Write a function called getLetterGrade, pass it a percentage value, have it return a string with the proper letter grade as found on the course syllabus. Integrate this function with the program from assignment 6-2. Call the function as follows:
string letterGrade = getLetterGrade(grade);
cout << "Your letter grade for this course is " << letterGrade << endl;

4. Write a program that will store 7 integers (entered by the user) into an array called list1. Next, prompt the user for 5 integers and put them into an array called list2. Now, list all of the numbers that are in BOTH lists by calling a function called inBoth and passing list1 and list2 to that function.

Reference no: EM13751089

Questions Cloud

Business applying different capital budgeting techniques : Discuss two (2) pros and two (2) cons of a business applying different capital budgeting techniques when it is faced with making wealth-maximizing decisions around investing corporate funds. Provide at least one (1) example that illustrates the po..
Contingency plans assignment with facilitator feedback : •Company background, organizational mission, vision, and value statements •Note. For a start-up, you should focus on the backgrounds and accomplishments of key anticipated management personnel. The goal is to convince the investor that these individu..
What point do non-borrowed excess reserves start to balloon : Are you able to explain in your own words why high excess reserves represent a significant opportunity cost for the bank when the economy is moving into a recession?
Write paper on foundations of technical communications : Write paper on Foundations of Technical Communications
Write a program that will store 7 integers : Write a program that will store 7 integers (entered by the user) into an array called list1. Next, prompt the user for 5 integers and put them into an array called list2. Now, list all of the numbers that are in BOTH lists by calling a function c..
Write a research paper on type of current money : Write a research on either type of money from long ago or current money from other places around the world.. things that are included are: the value of the coin or dollar.
How reinforcement theory applies to this situation : Read the Rick's New Job case analysis at the end of Chapter 3 of the Blanchard and Thacker (2013) text. In an 800 to 1,000 word paper (excluding the title and reference pages), respond to the following case questions: Explain why Rick was let go and ..
Chase and janet fisher : Chase Fisher (age 54) is a small business owner. He and his wife, Janet, (age 53) have the following assets:
Find ways to produce and market its goods : Business is business, and every firm has to find ways to produce and market its goods.  Why, then, might managers be unable to successfully apply the techniques and concepts they have learned in their own country to other areas of the world?

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