|
print("Please say your age: ");
|
|
i = toNumber(readln());
|
|
if(i < 18)
|
|
{
|
|
if(i < 13)
|
|
println("You are a preteen");
|
|
else
|
|
println("You are a teenager");
|
|
}
|
|
else
|
|
{
|
|
if(i < 20)
|
|
println("You are an adult, but are still a teenager");
|
|
else
|
|
println("You are an adult");
|
|
}
|