a program to input the prices of two items as well as the quantities purchased, and compute the amount of the sale. Use both pseudo code and flowchart diagrams.

no idea but please help....

Sure! Here's an example of a program in pseudocode to input prices and quantities of two items and compute the total amount of the sale:

Pseudocode:
1. Display "Enter the price of item 1:"
2. Read price1
3. Display "Enter the quantity of item 1:"
4. Read quantity1
5. Display "Enter the price of item 2:"
6. Read price2
7. Display "Enter the quantity of item 2:"
8. Read quantity2
9. total_amount = (price1 * quantity1) + (price2 * quantity2)
10. Display "The total amount of the sale is:", total_amount

Flowchart diagram:
```
+--------------------------+
| Start / Input Prices |
+--------------------------+
|
v
+--------------------------+
| Input Price of Item 1 |
+--------------------------+
|
v
+--------------------------+
|Input Quantity of Item 1 |
+--------------------------+
|
v
+--------------------------+
| Input Price of Item 2 |
+--------------------------+
|
v
+--------------------------+
|Input Quantity of Item 2 |
+--------------------------+
|
v
+--------------------------+
| Calculate Total Amount |
+--------------------------+
|
v
+--------------------------+
| Display Total Amount |
+--------------------------+
|
v
+--------------------------+
| End |
+--------------------------+
```

In this program, you will prompt the user to enter the prices and quantities of both items. Then, you will calculate the total amount by multiplying the price of each item by its respective quantity and adding them together. Finally, you will display the total amount of the sale.

You can implement this pseudocode in any programming language of your choice by following the logic and syntax rules specific to that language.