chomp($ask); if ($ask eq $add || $ask == 1) { $z = $x + $y; print "$x + $y = $z";}