Question

In: Computer Science

Make an algorithm in the form of a sentence and flowchart from the following cases: Algorithm...

Make an algorithm in the form of a sentence and flowchart from the following cases: Algorithm for calculating the amount of net salary if known: the amount of base salary, allowances, melting money, taxes, and credit deductions.

Solutions

Expert Solution

Alogarithm for calculating Net Salary:

step - 1 : Enter the base salary

step - 2 : Enter the allownaces

step - 3 : Enter the melting money

step - 4 : Enter the Taxes

step - 5 : Enter the credit deductions

step -6 : Add the allowances, melting money,taxes and credit deductions

step - 7 : subtract the added amount from the bases salary

step - 8 : The remaing amount is the net salary

example :

assume,

base salary = $30,000

allowances = $4500

melting money = $ 3000

taxes = $ 1000

credit deductions = $5000

Net salary = base salary - (allowances + melting money + taxes + credit deductions)

Net salary = $30000 - ($4500+$3000+$1000+$5000)

Net salary = $16500

Flow chart for calculating Net Salary :

----------------------------------------------------------------------------------

Kindly comment your queries if any,upvote if you like it. Thank You!!


Related Solutions

Write an algorithm (flowchart OR Pseudocode) for the following problem Take input character from the user...
Write an algorithm (flowchart OR Pseudocode) for the following problem Take input character from the user unless he enters '$'. Thereafter display how may vowels were entered by the user. Also display the number of each vowel ('a', 'e', 'i', 'o' and 'u') separately. For example if the user enters B a b e c o o d i u g o a l $ Then we have the output below: #A=2 #E=1 #I=1 #O=3 #U=2
Develop an algorithm and a  flowchart for the following: Problem Specification:      Jennifer Camacho It’s the owner...
Develop an algorithm and a  flowchart for the following: Problem Specification:      Jennifer Camacho It’s the owner of Amazing Toyota, a company that sells this type of cars in Puerto Rico. She wants a program that displays the amount of salespersons commission. Some companies use a fixed rate to calculate the commission, while others (like Amazing Toyota) use a rate that varies with the amount of sales. If The salesperson sales $15,000 in one moth his commission will be a 2...
Develop an Algorithm and java program using Design Recipe for the following problems. Draw a flowchart...
Develop an Algorithm and java program using Design Recipe for the following problems. Draw a flowchart to compute the largest and smallest of 4 numbers : Write a Java Program for the above flowchart, use methods(functions), and nested if-else statements. Take input from the user using the Scanner object. Use separate methods to compute the Largest and Smallest of the numbers. Method 1 Name: findLargest(param 1, param 2, param 3, param 4) Method 2 Name: findSmallest(param 1, param 2, param...
For each of the cases below, describe in one sentence a situation from everyday life (that...
For each of the cases below, describe in one sentence a situation from everyday life (that is, things you have actually seen or experienced) that demonstrates the listed principle or process. a) The First Law b) An isothermal process c) A reversible, adiabatic process d) An irreversible process
Write a Python program that: Create the algorithm in both flowchart and pseudocode forms for the...
Write a Python program that: Create the algorithm in both flowchart and pseudocode forms for the following requirements: Reads in a series of positive integers,  one number at a time;  and Calculate the product (multiplication) of all the integers less than 25,  and Calculate the sum (addition) of all the integers greater than or equal to 25. Use 0 as a sentinel value, which stops the input loop. [ If the input is 0 that means the end of the input list. ]...
Homework Arrays and Tables In this assignment you are to create an algorithm, flowchart, and pseudocode...
Homework Arrays and Tables In this assignment you are to create an algorithm, flowchart, and pseudocode for a solution of the following problem. This solution will include the use of arrays needed to complete all parts of the logic. You have requested to develop a program that will record and process the rainfall totals of a 12 month period. You would use an array to store each months total. Once all 12 months amounts are entered then your solution need...
(Do the algorithm and flowchart) Write a C++ program that reads integer numbers and print it...
(Do the algorithm and flowchart) Write a C++ program that reads integer numbers and print it in horizontal order of the screen
A. combine the following sentences to make a compound or complet sentence. 1) Methamphetamine is a...
A. combine the following sentences to make a compound or complet sentence. 1) Methamphetamine is a very addictive drug. Many meth addicts die each year. 2) Treating patients after they become sick costs a lot of money. preventive care is nearly cost-free 3)When she lost her job in spring, sade applied everywhere for a new one. she resorted to applying for unemployment. B. combine the following sentences to make a compound sentence with a coordinating conjuction. 1) Shoppers are not...
Assume that the following cases are independent and rely on the following data. Make entries on...
Assume that the following cases are independent and rely on the following data. Make entries on the books of both companies. Jensen Co. Merton Co. Equipment (cost) $2,700,000 $4,950,000 Accumulated depreciation 870,000 2,700,000 Fair value of equipment 2,100,000 2,100,000 Jensen Co. and Merton Co. traded the above equipment. The exchange has commercial substance. Jensen Co.'s Books: Merton Co.'s Books: Jensen Co. and Merton Co. traded the above equipment. The exchange lacks commercial substance. Jensen Co.'s Books: Merton Co.'s Books: Assume...
How is a DFD different from a flowchart?
How is a DFD different from a flowchart?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT