Computer Science, asked by bincymathew, 9 months ago

Write an algorithm to give a bonus of Rs.1000 to those employees whose salary is more than Rs.5000

Answers

Answered by easyart45
3

Answer:

Steps

Explanation:

1 : Start

2 : If Employee Salary= Greater Than ₹5000

3 : Employee Salary = Salary + ₹1000

4 : Print

5 : End / Stop

Answered by ankhidassarma9
3

Answer:

Algorithm : Give a bonus of Rs.1000 to the employees whose salary is more than Rs.5000

Input : Salary

Output : New Salary with bonus if the salary is more than Rs.5000

Steps:

  • Step1. Take numbers salary and total
  • Step2. Input the salary of the person
  • Step3. If (salary >= 5000) goto Step 4

        Else goto step 5.

  • Step4. total = salary + 1000
  • Step5. total = salary + 0
  • Step6. Print total.

Explanation:

  • An algorithm is a step-by-step procedure for calculation and to develop framework for instructing computer to perform certain tasks.
  • Computer code is an algorithmic. Even the internet runs on algorithms and  online searching is also accomplished through them.

Similar questions