Problem

Return price - percent*price/100 integer.

Examples

  • discountPrice(100, 20) -> 80
Compile and test (Ctrl+Enter)