EChebanenko

Untitled

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