Draw a flowchart and write pseudo code for furniture company program; the program determines the price of a table. Ask the user to choose 1 for pine, 2 for oak or 3 for mahogany. The output is the name of the wood chosen as well as the price of the table. Pine table costs P100, oak tables cost P225, and mahogany tables cost P310.If the user enters an invalid code, set the price t
Pseudo code
Start
Declare variable woodType
Display "1. Pine"
Display "2. Oak"
Display "3. Mahogany"
Display "Please select a wood: "
Read woodType
If woodType=1 then
Display "Pine table cost P100"
Else if woodType=2 then
Display "Oak table cost P225"
Else if woodType=3 then
Display "Mahogany table cost P310"
Else
Display "Invalid code. Price P0"
End if
Stop
Flowchart
Comments
Leave a comment