you will take the output from the first task and write an algorithm and matching code to perform the second task, which is to calculate and print out the GPA rounded to 2 decimal places.
you will take the output from the first task and write an
[1, 4, 3, 3, 2, 1, 3, 0, 3, 2, 2]
The output would be 2.18
output from 1st task is in photo
Identify which pattern or patterns could best be applied to the solution of the second task. State clearly the name of the pattern and the pattern number, for example “List generation Pattern 2.2
Pattern 4.1 Formula
Pattern 4.2 Case analysis (two cases))
Pattern 4.3 Case analysis (multiple cases)
Pattern 4.4 Case analysis (nested cases)
Pattern 4.5 Sequence generation
Pattern 2.2 List generation
Pattern 2.3 List filtering
Pattern 2.4 List transformation
Pattern 2.5 Reduction: counting
Pattern 2.6 Reduction: aggregation
Pattern 2.7 Reduction: find value
Pattern 2.8 Reduction: find best value
Pattern 2.9 Reduction: version 3 find position of first best value
Step by step
Solved in 2 steps with 4 images
experts need to read the question correctly you are not been asked for code or an
Identify which pattern or patterns could best be applied to the solution of the second task. State clearly the name of the pattern and the pattern number, for example “List generation Pattern 2.2
Pattern 4.1 Formula
Pattern 4.2 Case analysis (two cases))
Pattern 4.3 Case analysis (multiple cases)
Pattern 4.4 Case analysis (nested cases)
Pattern 4.5 Sequence generation
Pattern 2.2 List generation
Pattern 2.3 List filtering
Pattern 2.4 List transformation
Pattern 2.5 Reduction: counting
Pattern 2.6 Reduction: aggregation
Pattern 2.7 Reduction: find value
Pattern 2.8 Reduction: find best value
Pattern 2.9 Reduction: version 3 find position of first best value
please read correctly before you answer intead of wasting peoples questions