0

bonus are given:

No.of hours>45 Bonus of 500

No. of hours>40and<=45 Bonus of 250

No.of hours>35and<=40 Bonus of 150

display the basic salary,bonus,and total salary

the sample output:

Hours worked:10

Hourly rate:10

Basic salary:100

Bonus:0

Total salary:100

what should i do,the bonus & hours worked are a double data type and other are a decimal data type.Please help me to fix this problem SOP.Thanks!!!