Nov-22-2023, 09:53 PM
Hi Rob,
Thank-you for your reply, Your rewritten code is starting to make sense for me.
What is the small "f' in the brackets for?
Also there is a final part to this problem.
Test data
Table 5: Test data
1. Create another test case using the samples above as a guide.
2. Use debugging and problem-solving techniques to detect and correct errors in the code (use the test cases to confirm the design specifications). This must include examining the contents of the variables. Document the changes you made by including comments in the code, using the correct syntax.
another end part to this,
mark1 mark2 mark3 mark4 mark5 Expected sum Expected average Comments
10 12 16 14 18 70 14
A B D A C n/a n/a Exception error on input
17 17 199 20 - 17 90 18
Thank-you for your reply, Your rewritten code is starting to make sense for me.
What is the small "f' in the brackets for?
Also there is a final part to this problem.
Test data
Table 5: Test data
1. Create another test case using the samples above as a guide.
2. Use debugging and problem-solving techniques to detect and correct errors in the code (use the test cases to confirm the design specifications). This must include examining the contents of the variables. Document the changes you made by including comments in the code, using the correct syntax.
another end part to this,
mark1 mark2 mark3 mark4 mark5 Expected sum Expected average Comments
10 12 16 14 18 70 14
A B D A C n/a n/a Exception error on input
17 17 199 20 - 17 90 18