Write a C# program to:
You must use the getCardValue subroutine detailed in Table 1 below in your C# code.
You should use meaningful variable name(s) and correct C# syntax in your answer.
| Subroutine | Purpose |
|---|---|
getCardValue(row, column) | Returns the integer value of the card on the board at the position (row, column) |
| column 0 | column 1 | column 2 | |
|---|---|---|---|
| row 0 | 3 | 7 | 10 |
| row 1 | 8 | 5 | 2 |
| row 2 | 12 | 11 | 9 |
| column 0 | column 1 | column 2 | |
|---|---|---|---|
| row 0 | 4 | 1 | 6 |
| row 1 | 9 | 10 | 12 |
| row 2 | 14 | 3 | 8 |
131 exam-style questions on AQA GCSE Computer Science Structured programming and subroutines (procedures and functions). Each one has a worked solution and a mark scheme showing where the marks go.