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