Giter VIP home page Giter VIP logo
  • 👋 Hi, I’m Özlem ÖZKAYA
  • 👀 I’m Computer Engineer
  • 🌱 I’m currently learning Java and Machine learining
  • 📫 How to reach me cv:[email protected]

👩🏻‍💻linkedin

Özlem ÖZKAYA's Projects

salary-calculator icon salary-calculator

I wrote a class in Java called "Employee" that represents factory workers and calculates employee salaries with its methods. This class has 4 attributes and 5 methods. Attributes of the Class name : Employee's first and last name salary : The employee's salary workHours : Weekly working hours hireYear : Employment year Methods of the Class Employee(name,salary,workHours,hireYear) : It is a constructor method and will take 4 parameters. tax() : It will calculate the tax applied to the salary. If the employee's salary is less than 1000 TL, no tax will be applied. If the employee's salary is more than 1000 TL, 3% of his salary will be taxed. bonus() : If the employee has worked more than 40 hours a week, bonus wages will be calculated as 30 TL per hour of extra work. raiseSalary() : It will calculate the salary increase based on the employee's start year. Take the current year as 2021. If the employee has been working for less than 10 years, his salary will be increased by 5%. If the employee has worked for more than 9 years and less than 20 years, his salary will be increased by 10%. If the employee has been working for more than 19 years, a 15% raise will be made. toString() : It will print the information of the employee to the screen.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.