Question: Can you please place this in a raptor program? I forgot how to do this lol Raptor Flowchart for Bakery Inventory Program Start Declare pastryID,
Can you please place this in a raptor program? I forgot how to do this lol
Raptor Flowchart for Bakery Inventory Program
Start
Declare pastryID, quantity as Integer
Declare price as Real
Output: "Enter pastry ID:
Input: pastryID
Output: "Enter quantity:
Input: quantity
Output: "Enter price:
Input: price
If pastryID OR quantity OR price Then
Output: "Error: Negative values are not allowed for pastry ID quantity, or price."
Stop Program
End If
Create instance of Bakery class with pastryID, quantity, and price
Output: "Welcome to the Bakery calculator!"
Output:
Output: "Bakery Inventory"
Output: "This program will allow you to enter the pastry ID
Output: "the quantity and the price per pastry to be inventoried"
Output: "which will then tell you the total price of the item by bulk."
Output: "BAKERY INVENTORY"
Output: "Pastry ID: pastryID"
Output: "Quantity: quantity"
Output: "Price per unit: $price"
Output: "Total Cost: $totalCost"
Output:
Stop
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
