#include <iostream>
using namespace std;

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

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

Input

Expected Output

Sensor reading: 100