package com.codegym.task.task04.task0415; /* Rule of the triangle */ import java.io.*; import java.util.Scanner; public class Solution { public static void main(String[] args) throws Exception { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int c = sc.nextInt(); if (a + b > c && a + c > b){ System.out.println("The triangle is possible."); } else if (a + b < c && a + c < b) { System.out.println("The triangle is not possible."); } } }