Skip to content
loading...

re: Daily Challenge #138 - Do I get a Bonus? VIEW POST

FULL DISCUSSION
 

Untested PHP attempt:

function get_salary( $salary, $bonus )  {
    return '$' . ( $bonus ? $salary * 10 : $salary );
}
code of conduct - report abuse