Write a C# program to:
You must use the getTemperature 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 |
|---|---|
getTemperature(row, column) | Returns the integer temperature value at the specified position (row, column) on the sensor grid |
| column 0 | column 1 | column 2 | |
|---|---|---|---|
| row 0 | 15 | 24 | 18 |
| row 1 | 12 | 20 | 15 |
| row 2 | 9 | 18 | 12 |
| column 0 | column 1 | column 2 | |
|---|---|---|---|
| row 0 | 10 | 18 | 22 |
| row 1 | 8 | 14 | 19 |
| row 2 | 6 | 10 | 15 |
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.