1. Finish the coding problem we started in class
Sample input:
5, D, 2, D, 6, H, 9, D, 9, S, 6, H
4, C, 1, C, 6, C, 7, H, 5, S, 4, D
3, D, 4, H, 5, C, 6, S, 2, D, 1, D
9, S, 8, H, 7, C, 7, D, 9, H, 3, H
1, C, 1, D, 9, H, 8, S, 9, S, 7, C
Sample output:
9, D
6, C
1, D
NONE
7, C
Test input:
4, S, 2, S, 5, S, 6, S, 8, S, 9, S
7, H, 3, S, 3, H, 3, D, 3, C, 2, H
9, D, 3, C, 5, H, 1, S, 7, D, 9, S
6, C, 1, S, 2, H, 7, S, 8, D, 9, H
1, D, 2, S, 3, D, 4, S, 2, H, 2, C
Test output:
5, S 2, H
7, D NONE
3, D
Copy+paste your finished code as a reply to this post.
2. What is the value of f(6,3)?
2. f(6,3)=22