package com.maksim;

import java.util.Scanner;

public class Helper {
    /* Get integer value from console */
    public static int getIntValue(String str) {
        System.out.println("Enter " + str + "...");
        Scanner scanner = new Scanner(System.in);
        return scanner.nextInt();
    }

    /* Get String value from console */
    public static String getStringValue(String str) {
        System.out.println("Enter " + str + "...");
        Scanner scanner = new Scanner(System.in);
        return scanner.nextLine();
    }

    public static String[][] getMatrix() {
        String[][] matrix = {
                {"хирург","стомотолог","терапевт"},
                {"вывих","зубная боль","грипп"},
                {"перелом","кариес","сотрясение мозга"},
                {"растяжение","парадантоз","насморк"}
        };
        return matrix;
    }
}
