Question: The programming language is C++ 3. Based on the sample output given, write various type of functions appropriately (void, with input parameters and return parameters,
The programming language is C++
3. Based on the sample output given, write various type of functions appropriately (void, with input parameters and return parameters, ie call by value and call by reference) to perform the following tasks: i. Accept input such as matrix no. and marks for test 1, test 2 and final exam. Total mark for test 1 is 25 and test 2 is 25. Total mark for final exam is 50. ii. Compute the sum of marks for test 1, test 2, and final exam for each student. iii. Compute grade obtained based on the following table: Marks Grade >=80 A >=65 B >=50 >=40 D >=25 E
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
