Problem

Return score + 10 if bonus true.

Examples

  • scoreBonus(80, true) -> 90
Compile and test (Ctrl+Enter)