hi,hello to anyone there can anyone help me to fix my problem about C#.Net conditional exercise.The problem is write a problem that asks the user for the hours worked for the week and hourly rate.The basic salary is computed as: Salary=hours worked*hourly rate
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:
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!!!
All 3 RepliesReply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.