Asked by alethia benney

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.

Answers

Answered by Steve
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
Answered by Kelly
Can you please put the answer in a table so I can understand it please
Answered by gg
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
There are no AI answers yet. The ability to request AI answers is coming soon!

Related Questions