Prog_3/Exercicios/Exercicios_2/4_28/ex_a.java
<filename>Prog_3/Exercicios/Exercicios_2/4_28/ex_a.java<gh_stars>0
import java.util.Scanner;

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

        int x = 0;
        int y = 0;

        try (Scanner input = new Scanner(System.in)) {

            System.out.print("X: ");
            x = input.nextInt();

            System.out.print("Y: ");
            y = input.nextInt();
        }

        if (y == 8)
            if (x == 5)
                System.out.println("@@@@@");
            else
                System.out.println("#####");
        System.out.println("$$$$$");
        System.out.println("&&&&&");

    }
}