The class Register8 represents an 8-bit hardware register and is already defined with a private variable value, a constructor, and a getter.
Your task is to overload the == operator so that two Register8 objects can be compared.
Two registers are considered equal if their stored 8-bit values are identical.
In main():
uint8_t).Register8 objects using these values.== operator.Equal if the registers hold the same 8-bit valueNot Equal otherwiseAll integer inputs are guaranteed to be in the range 0 to 255.
Input / Output Specification
Input
Two space-separated integers a and b
0 ≤ a, b ≤ 255Output
Print exactly one of the following (case-sensitive):
EqualNot Equal
Example 1
Input:
10 10
Output:
Equal
Example 2
Input:
5 7
Output:
Not Equal
Input
10 10
Expected Output
Equal