Write an algorithm to give a bonus of Rs.1000 to those employees whose salary is more than Rs.5000
Answers
Answered by
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
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
English,
4 months ago
Math,
4 months ago
Hindi,
4 months ago
World Languages,
9 months ago
Science,
9 months ago
Social Sciences,
1 year ago