Wednesday
March 29, 2017

Post a New Question

Posted by on .

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.

  • programming - ,

    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

Answer This Question

First Name:
School Subject:
Answer:

Related Questions

More Related Questions

Post a New Question