# programming

Design a flowchart and pseudo-code for a structured program that could be used
to calculate a sales person’s gross salary and output of the sales person’s basic salary,
additional pay, bonus, and gross salary.
ABC explosion ltd deals in information technology services and products. The salespersons are paid a basic salary and benefits as follows:
Additional pay of 10% of basic salary for salesperson who have worked for the company for more than five years
A monthly bonus based on monthly sales as shown in the table below
Monthly sales Bonus rate
Above 100,000 15%
Between 45,000 and 100,000 10%
Below 45,000 5%

1. 👍
2. 👎
3. 👁
addpay = (tenure > 5) ? 0.10 * basic : 0
bonus = ((basic > 100000) ? 0.15 : (basic >= 45000) ? 0.10 : 0.05) * basic
gross = basic + addpay + bonus

1. 👍
2. 👎
2. Osm

1. 👍
2. 👎

## Similar Questions

1. ### ALGORITHM

Write an algorithm and flowchart that will accept score of 30 student in a class calculate and print the average mark in basic program.

2. ### Cmin

Draw a flowchart and write pseudocode to represent the logic of a program that allows the user to enter two values. The program outputs the sum of and the difference between the two values.

3. ### fundamental to programing

design an algorithm that reads three numbers and prints that smallest number.using pseudo code and flow chart

4. ### computer science

Draw a flowchart or write pseudocode to represent the logic of a program that allows the user to enter a value. The program multiplies the value by 10 and outputs the result…

1. ### Algorithm

write a pseudo code algorithm that will accept 20 numbers and finds their product

2. ### Programming

Draw a flowchart or write pseudo code to represent the logic of a program that allows the user to enter values for the current year and the user’s birth year. The program outputs the age of the user this year. Preferably a

3. ### Algorithm

write a pseudo code algorithm that will accept the marks in a test for a group of 25 students then calculate and display the average mark

4. ### Computer

Draw a flowchart and algorithm pseudo code to print the product of the first 10 even number.

1. ### Fat gram calculator

Design a program that asks the user for the number of fat grams and calories in a food item. Validate the input as follows. Make sure the number of fat grams and calories are not less than 0. According to nutritional formulas, the

2. ### Computer Programing & Logic Design

Submit pseudocode and a flowchart for the following programming exercise: Test Average and Grade Write a program that asks the user to enter five test scores. The program should display a letter grade for each score and the

3. ### CIS

Draw a flowchart or write pseudocode to represent the logic of a program that allows the user to enter a value. The program multiplies the value by 10 and outputs the result.

4. ### PM

You are creating a customer database for Modesto Nuts minor league baseball team. Draw a project network given the information below. Complete the forward and backward pass, compute activity slack, and identify the critical path.