Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Project: Simple_Conditions - created by borkins on 2017-03-25.
- */
- import java.util.Scanner;
- public class _15_ThreeEqualNumbers
- {
- public static void main(String[] args)
- {
- Scanner console = new Scanner(System.in);
- int a = Integer.parseInt(console.nextLine());
- int b = Integer.parseInt(console.nextLine());
- int c = Integer.parseInt(console.nextLine());
- System.out.println((a == b && a == c) ? "yes" : "no");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement