/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Adpator;

import java.util.Scanner;


public final class Numbers implements NumArthematic{
      Scanner input=new Scanner(System.in);
      int x=0,y=0;
      
      public  void addnum(){
        System.out.println("Enter the 1st real muber: ");
        x=input.nextInt();
        System.out.println("Enter the real 2nd muber: ");
        y=input.nextInt();
        System.out.println("the Sum is ="+(x+y));
  }
      public void subNum(){
          System.out.println("Difference is ="+(x-y));
      }
}