2. 2
Flowchart is a diagrammatic representation of sequence of logical
steps of a program. Flowcharts use simple geometric shapes to depict
processes and arrows to show relationships and process/data flow.
8. 8
Direction of Numbered NYC Streets Algorithm
• Problem: Given a street number of a one-way street in New York City,
decide the direction of the street, either eastbound or westbound
• Discussion: in New York City even numbered streets are Eastbound,
odd numbered streets are Westbound
13. Draw a Flowchart for the following problem statement
There is a multinational company. In the company, there are deductions from the salary of the employee
according to following rules:
i) If salary is less than 10,000 then no tax deduction and 4% of salary will be deducted as Well-fare fund
every month.
ii) If salary is more than10,000 and less than 20,000 then 3% of salary as tax deduction and6% of
remaining salary as employee well-fare fund will be deducted every month.
iii) If salary is equal to or more than 20,000 then 5 % of the salary as tax deduction and 8% of remaining
salary as employee well-fare fund will be deducted every month .
Take salary input from user and after appropriate deduction show the net payable amount for month.
Using Loop structure calculate the total salary; paid tax and well fare fund of that particular employee for
two years and display these values at end.