Design a Flowchart and Pseducode for the following Problems

You can use dia /visio/Microsoft Word or any other tool for creating flowcharts.Design a program that will ask the user to enter the amount of a purchase. The
program should then compute the federal and provincial sales tax. Assume the federal
sales tax is 10 percent and the provincial sales tax is 5 percent. The program should
display the amount of the purchase, the federal sales tax, the provincial sales tax, the
total sales tax, and the total of the sale (which is the sum of the amount of purchase
plus the total sales tax).

Sure! Here's the solution in both flowchart and pseudocode format:

Flowchart:
```
Start
|
|__ Input amount of purchase
|
|__ Calculate federal sales tax: federal_sales_tax = amount_of_purchase * 10%
|
|__ Calculate provincial sales tax: provincial_sales_tax = amount_of_purchase * 5%
|
|__ Calculate total sales tax: total_sales_tax = federal_sales_tax + provincial_sales_tax
|
|__ Calculate total sale: total_sale = amount_of_purchase + total_sales_tax
|
|__ Display amount of purchase, federal sales tax, provincial sales tax, total sales tax, total sale
|
End
```

Pseudocode:
```
Start
|__ Prompt the user to enter the amount of purchase
|__ Read the amount_of_purchase from the user
|
|__ Set federal_sales_tax = amount_of_purchase * 0.10
|__ Set provincial_sales_tax = amount_of_purchase * 0.05
|__ Set total_sales_tax = federal_sales_tax + provincial_sales_tax
|__ Set total_sale = amount_of_purchase + total_sales_tax
|
|__ Display "Amount of Purchase: $" + amount_of_purchase
|__ Display "Federal Sales Tax: $" + federal_sales_tax
|__ Display "Provincial Sales Tax: $" + provincial_sales_tax
|__ Display "Total Sales Tax: $" + total_sales_tax
|__ Display "Total Sale: $" + total_sale
End
```

Please note that this code assumes the decimal representation of percentages, i.e., 10% is represented as 0.10 and 5% as 0.05. You can replace the percentage values in the code with their decimal equivalents if needed.