33. Abstract Sensor Debugging

 The code below does not compile. A base class Sensor is defined with an abstract function readValue().

Your task is to fix the code so it compiles and runs correctly. Do not change main().


Example
 Input:

25

Output:

Temperature=25

 

Loading...

Input

25

Expected Output

Temperature=25