Write a C# program to:
You must use the getPressure 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 |
|---|---|
getPressure(row, column) | Returns the integer value of the pressure sensor on the monitoring grid at position (row, column) |
| column 0 | column 1 | column 2 | |
|---|---|---|---|
| row 0 | 100 | 95 | 80 |
| row 1 | 90 | 85 | 72 |
| row 2 | 80 | 75 | 60 |
| column 0 | column 1 | column 2 | |
|---|---|---|---|
| row 0 | 45 | 10 | 50 |
| row 1 | 40 | 15 | 42 |
| row 2 | 35 | 20 | 34 |
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.