EChebanenko

Untitled

Oct 29th, 2020
1,025
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package HwLesson15;
  2.  
  3. public class Main extends Logic {
  4.     public static void main(String[] args) {
  5.         int num1 = getNum();
  6.         int num2 = getNum();
  7.         Methods operation = getOperation();
  8.         int result = result(num1, num2, operation);
  9.         System.out.println("Результат:" + result);
  10.     }
  11. }
RAW Paste Data