rickbill 0 Newbie Poster

I wrote a console application that shows a survey of salespeople that earn a salary in a certain range based on their grossSales.

I am not getting the right results.

A salesperson makes $200 plus 9% commission on grossSales.


when I enter $5000 grossSales I get the result of the range
$700 - $799 and not

$600 - $699


(($5000 * 9)/ 100 ) + $200 = $650


What am I doing wrong.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.