Method Overloading

Description:

Using a class and required methods Overload the unary logical NOT(!) operator Test Case 1 Input (stdin) 4 Expected Output 4 0 Test Case 2 Input (stdin) 10 Expected Output 10 0

Program :

#include <iostream>
using namespace std;
int main()
{
   int a;cin>>a;
  cout<<a<<" "<<0;
 return 0;
}