A company has appointed marketing professionals at a monthly salary of ₹50,000. At the time of their annual appraisal all these professionals are entitled for an increment in their monthly salary based on their performan
CS Professional · Information Technology and Systems Audit · PYQS · June 2019
A company has appointed marketing professionals at a monthly salary of ₹50,000. At the time of their annual appraisal all these professionals are entitled for an increment in their monthly salary based on their performance to be evaluated on a 100 marks scale as per details given below : Performance marks less than 70, then increment to be 10% of salary Performance marks from 70 to 85, then increment to be 20% of salary Performance marks more than 85, then increment to be 30% of salary Draw a flow chart to print the details like name, performance marks, monthly increment amount and revised salary of one professional.
Answer & Explanation:
The flowchart to calculate and print salary details based on performance marks would proceed as follows: START (Terminal symbol) Initialize Salary = 50000 (Process symbol) Input Name, PM (Performance Marks) (Input/Output symbol) Is PM < 70? (Decision symbol) If Yes : Calculate Inc_Amt = Salary * 1/10 (Process symbol) If No : Proceed to the next decision. Is (PM >= 70 AND PM <= 85)? (Decision symbol) If Yes : Calculate Inc_Amt = Salary * 1/5 (Process symbol) If No (meaning PM > 85): Calculate Inc_Amt = Salary * 3/10 (Process symbol) Calculate Rev_Sal = Salary + Inc_Amt (Process symbol) Print Name, PM, Inc_Amt, Rev_Sal (Input/Output symbol) STOP (Terminal symbol)
Topics: Programming Concepts
Related Questions in this Topic
- Write short notes on the following: Flow Chart
- A housing society having 400 members pay the electricity bill at the following rates: No. of Units consumed Charges...
- Define Algorithm. Briefly explain the various control structures used in Algorithm.
- Write short notes on the following: Advantages of using Flow Charts
- What do you understand by Algorithm for any program? Discuss different types of control structures for classification of...