#include <iostream>
using namespace std;

class Sensor {
public:
 int read() {
   return 100;
  }
};  

int main() {
   Sensor s;
   int value = s.read();
   cout << "Sensor reading: " << s.read();
   return 0;
}
Upvote
Downvote
Loading...

Input

Expected Output

Sensor reading: 100