so , as the title says i have 2 ints where if (only) one of them is between (13 , 19) , return true but if both ints are between (13 , 19) return false without using if-else Statements sry if its a lame question , still learning the ropes here
public boolean hasOnly1Teen(int age1 , int age2)
{
boolean is1Teen = (age1 >= 13 && age1 <= 19 ) , is2Teen = (age2 >= 13 && age2 <=19);
return (!( is1Teen == true && is2Teen == true ));