Write a program that will store 7 integers entered by the


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.

Request for Solution File

Ask an Expert for Answer!!
Programming Languages: Write a program that will store 7 integers entered by the
Reference No:- TGS01004261

Expected delivery within 24 Hours