Take 2 float numbers and check 3 digits after decimal places is same then print Equal if not print Not equal
++ #include <iostream> using namespace std; int main() { float a, b; cin >> a >> b; if (a == b) { cout << "EQUAL"; } else { cout << "NOT EQUAL"; } }