androkali

java 1

Feb 25th, 2020
449
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. class A
  2. {
  3. public static void main(string ary[])
  4. {
  5. int x,y;
  6. Scanner Sc=new Scanner(System.in);
  7. System.out.println("Enter two no");
  8. x=Sc.nextInt();
  9. y=Sc.nextInt();
  10. Test t= new Test();
  11. T.add(x,y0;
  12. T.sub(x,y);
  13. T.div(x,y);
  14. T.multy(x,y);
  15. }
Add Comment
Please, Sign In to add comment