So i have this code and out of curiosity I was wondering if it would be better to use "switch statement"


import java.util.Random;
import javax.swing.JOptionPane;

public class Main {

...