Algorithm And Flowchart To Find Gross Salary
Algorithm flowchart manual 4 cic uhf how to write algorithms step 1 define your algorithms input.
Algorithm and flowchart to find gross salary. This program allows the user to enter the basic salary hra percentage and da percentage. Tips for creating algorithm flowcharts 1. Assume that 15 of the salary is deducted as taxes. C program to find the simple interest algorithm step 1.
If basic salary 10000 then hra basic salary 0 8 and da basic salary 0 2. Read principal amount rate and time step 3. Adding shapes in flowcharts. The employees that earn a salary more than 150 per week must pay a supplemental tax of 25 due from what is more than 150 maxnodue.
Hours worked is between 0 and 80 hours and the hourly wage is between 8 95 and 50. Using the text by tony gaddis. Create gross pay and net pay functions and provide user input validation to check for a valid user name. To calculate the area of rectangle input may be the rectangle height and rectangle width.
Describe an algorithm that computes the employee s gross salary given the hours work and the hourly rate. Calculate interest using formula si amount rate time 100 step 4. Input basic salary of employee. The formula for da and hra is da basic salary da 100 if da 80 then the statement becomes da basic salary 80 100.
Amount rate time si amount rate time 100 start print si stop. Programming logic design. C program to calculate gross salary of a person. Hours worked is between 0 and 80 hours and the hourly wage is between 8 95 and 50.
Print simple interest step 5. We are on page 31. By using those values this program to calculate gross salary of an employee or calculate the total salary of an employee. Click the icon on the side of the box shapes will be added.
C program to calculate gross salary of an employee example 2. Gross salary is the final salary computed after the additions of da hra and other allowances. While drawing flowcharts with edraw flowchart maker shapes can be simply dragged and dropped beside the box at any direction right left up or below with the help of mouse and they will be connected by arrows automatically. Many algorithms take in data to be processed e g.
As shown in this picture. Calculate final gross salary using formula gross salary basic salary da hra. Similarly check basic salary and compute hra and da accordingly.