#include <iostream>
#include <math.h>
using namespace std;
int main() {
double targetValue;
double sensorReading;
cin >> targetValue;
cin >> sensorReading;
if (abs(targetValue - sensorReading)<=1e-4) {
cout << "Equal" << endl;
}
else {
cout << "Not equal" << endl;
}
system("pause");
return 0;
}
Comments
Leave a comment