sugandha-kadp / -Hacktoberfest2021-Task5

Happy Hacktober! :octocat: This is a beginner friendly repository made specifically for Hacktoberfest that helps you get your first PR and takes you a step closer to earning your Hacktoberfest T-shirt 👕.
5 stars 45 forks source link

Update NetSalary #18

Open SKumaran14 opened 2 years ago

SKumaran14 commented 2 years ago

fix errors

sugandha-kadp commented 2 years ago

@SKumaran14 your code is correct, but it has some problems, if I enter the wrong EMP Type it will ass enter EMP Type again no, so after entering the correct EMP Type, It will not work correctly. I think in the while statement, after getting the correct EMP Type, It must be the entire code again, am I correct?

SKumaran14 commented 2 years ago

@Sugandha-kadp it will asked again and again until you enter correct emp type

After entering the correct emp type it will print net salary.

It will take value of salary and OThours as first you enter input

SKumaran14 commented 2 years ago

@Sugandha-kadp you are giving emp type are 1,2,3 only

Is it correct ?

sugandha-kadp commented 2 years ago

Okay It is correct.