It works but need input 4 char + - * /, if less then 4 char throw Exception




import java.util.Scanner;

public class myCalculator {
public static void main(String[] args) {
...