You are given firmware-style C++ code that defines a generic sensor interface.
The base class declares a required operation for reading a sensor value, but the concrete sensor implementation is incomplete.
As a result, the program fails to compile even though the application logic is correct.
In embedded systems, abstract interfaces are used to enforce driver contracts at build time.
Your task is to correct the implementation so that the concrete sensor fully satisfies the interface requirements.
You must not modify the application logic.
Program Flow:
Input Format:
Input is provided via standard input (stdin).
intOutput Format:
The program must print exactly one line:
Temperature=<value>
Where <value> is the integer read from the sensor.
Example:
Example 1
Input:
25
Output:
Temperature=25 Example 2
Input:
-10 Output:
Temperature=-10 Constraints:
main() function must not be modified.
Input
25
Expected Output
Temperature=25