3. Write a structured algorithm that prompts the user to input the name and the price of an item and the quantity purchased. It should print the name, price, quantity and amount due with appropriate labels.

using separate prompts, do something like this:

prompt "name: "
read name
prompt "price: "
read price
prompt "quantity: "
read quantity
due = price * quantity
print "name price quantity total"
print name,price,quantity,due

Can you please put the answer in a table so I can understand it please

Write a program that prompts the user to enter the original price and class of the

item and then determines the total price as follow

Sure, here's your structured algorithm:

1. Start
2. Prompt the user to enter the name of the item
3. Read and store the item name
4. Prompt the user to enter the price of the item
5. Read and store the price
6. Prompt the user to enter the quantity purchased
7. Read and store the quantity
8. Calculate the total amount due by multiplying the price and quantity
9. Print the following labels and values:
- Item Name: [item name]
- Price: [price]
- Quantity Purchased: [quantity]
- Amount Due: [total amount due]
10. End

To write a structured algorithm that prompts the user for inputs and prints the necessary information, you can follow these steps:

1. Start the algorithm.
2. Prompt the user to enter the name of the item.
3. Read and store the name of the item.
4. Prompt the user to enter the price of the item.
5. Read and store the price of the item.
6. Prompt the user to enter the quantity purchased.
7. Read and store the quantity purchased.
8. Calculate the total amount due using the formula: amount_due = price * quantity.
9. Print the name of the item with an appropriate label.
10. Print the price of the item with an appropriate label.
11. Print the quantity purchased with an appropriate label.
12. Print the amount due with an appropriate label.
13. Stop the algorithm.

Here is the structured algorithm in a more formal representation using pseudocode:

```
1. Start
2. Display "Enter the name of the item:"
3. Read item_name
4. Display "Enter the price of the item:"
5. Read item_price
6. Display "Enter the quantity purchased:"
7. Read quantity_purchased
8. amount_due <- item_price * quantity_purchased
9. Display "Item: " + item_name
10. Display "Price: " + item_price
11. Display "Quantity: " + quantity_purchased
12. Display "Amount Due: " + amount_due
13. Stop
```