testcase3 to calculate total marks