Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Make a flowchart and a pseudocode. Thank you. 9. A salesman in XYZ company is selling toothpaste for P89.75 each and tooth powder for P155.95

Make a flowchart and a pseudocode. Thank you.

image text in transcribed

image text in transcribed

image text in transcribed

9. A salesman in XYZ company is selling toothpaste for P89.75 each and tooth powder for P155.95 each. The salesman will have a 10% commission on the sale of toothpaste and 20% commission on tooth powder. Create an algorithm to input the name of the salesman, the number of toothpaste and tooth powder he sells. Output the name of the salesman, the total sale and the total commission he earned. 10. Make an algorithm that will compute for the distance between 2 points A and B. The user is asked to input the values of points A(x1,y1) and B(x2,y2). Output the computed distance. 11. Any customer whose total PURCHASE is at least P1000 will be given a 10% discount. Make an algorithm that would input the customer's PURCHASE and output his net BILL

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started