The code below does not compile. A base class Sensor is defined with an abstract function readValue().
Sensor
readValue()
Your task is to fix the code so it compiles and runs correctly. Do not change main().
main()
Example Input:
25
Output:
Temperature=25
Test Cases
Test Results
Input
Expected Output