if ( (is_numeric($a) && empty($_POST['b']) && empty($_POST['c']) )
(is_numeric($a) && is_numeric($b) && empty($_POST['c'])) ||
(is_numeric($a) && empty($_POST['b'])) && is_numeric($c)) ||
(empty($_POST['a']) && is_numeric($b) && empty($_POST['c']))))))
)
{Тело программы}
else
{
Invalid input
}