Skip to content

Instantly share code, notes, and snippets.

import java.util.Scanner;
public class AgeGroup {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
int age=input.nextInt();
if(age<12){
System.out.println("Child");