| 1 | import java.util.Scanner; |
| 2 | |
| 3 | public class AgeGroup { |
| 4 | public static void main(String[] args) { |
| 5 | Scanner sc = new Scanner(System.in); |
| 6 | int age = sc.nextInt(); |
| 7 | |
| 8 | if(age <= 12){ |
| 9 | System.out.println("child"); |
| 10 | } else if(age > 12 && age < 18){ |
| 11 | System.out.println("teenager"); |
| 12 | } else { |
| 13 | System.out.println("adult"); |
| 14 | } |
| 15 | } |
| 16 | } |
nothing calls this directly
no outgoing calls
no test coverage detected