1. Create flowchart and algorithm to find the total salary of 50 employees in a company. Accept Name of the employee & Basic Salary as user input. Calculate Allowances as per the given table: Basic salary Allowance (of Basic salary) >5000 50% Between 5000 & 3000 40% Below 3000 20% The total salary of the employees is calculated as Net Salary= Basic Salary+ Allowances Display Name of the employee, Net salary, Basic salary and Allowances.

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter6: User-defined Functions
Section: Chapter Questions
Problem 10PE
icon
Related questions
icon
Concept explainers
Question

Create

(a) Pseudocode 

(b) Algorithm 

(c) Flowchart 

1. Create flowchart and algorithm to find the total salary of 50 employees in a company. Accept Name of the employee & Basic Salary as user input.
Calculate Allowances as per the given table:
Basic salary
Allowance (of Basic
salary)
>5000
50%
Between 5000 & 3000
40%
Below 3000
20%
The total salary of the employees is calculated as Net Salary= Basic Salary+ Allowances
Display Name of the employee, Net salary, Basic salary and Allowances.
Transcribed Image Text:1. Create flowchart and algorithm to find the total salary of 50 employees in a company. Accept Name of the employee & Basic Salary as user input. Calculate Allowances as per the given table: Basic salary Allowance (of Basic salary) >5000 50% Between 5000 & 3000 40% Below 3000 20% The total salary of the employees is calculated as Net Salary= Basic Salary+ Allowances Display Name of the employee, Net salary, Basic salary and Allowances.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 2 images

Blurred answer
Knowledge Booster
Control Structure
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L
CMPTR
CMPTR
Computer Science
ISBN:
9781337681872
Author:
PINARD
Publisher:
Cengage
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning