Answer to Question #202432 in C++ for grace

Question #202432

 Write a pseudocode that will allow a retail store to process the monthly commission that will be paid to their employees. Your solution will accept the total employees to be processed, and then produce an output showing the commission to be given for each employee, after accepting their name, Taxpayer Registration Number (TRN) and total sales for the month. A 10% commission is given if the total monthly sales is 100,000 or less; however, if the total monthly sales amount exceeds 100,000, the employee gets a commission of 8% of the amount up to and including 100,000 as well as 20% of the amount exceeding 100,000.  








1
Expert's answer
2021-06-03T04:14:17-0400
BEGIN
	LET quantity
	PROMT "Etner quantity"
	INPUT quantity
	LET name, TRN, sum
	FOR quantity
		PROMT "Enter data about employee"
		INPUT name
		INPUT TRN
		INPUT sum
		IF (sum <= 100000)
			DISPLAY (name, TRN, sum * 10%)
		ELSEIF (sum > 100000)
			DISPLAY (name, TRN, 100000 * 8% + (sum-100000) * 20%)
		ENDIF
	ENDFOR
END

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog