Write a VB.Net program to check if a marine temperature logging system has a sequence of five consecutive integer degree Celsius readings (increasing by exactly 1 degree each time) within its list of 150 recorded measurements.
When writing your program you should assume:
tempLogs that contains the 150 integer temperature measurementstempLogs(0) contains the first value and tempLogs(149) contains the last valuetempLogs are already stored in ascending numerical orderstreakDetected that has an initial value of False.Your program should set streakDetected to True if there is a valid run of five consecutive integers (for example: 12, 13, 14, 15, 16).
You should use meaningful variable name(s) and VB.Net syntax in your answer.
298 exam-style questions on AQA GCSE Computer Science Programming concepts. Each one has a worked solution and a mark scheme showing where the marks go.