Answer to Question #278826 in Java | JSP | JSF for Letso

Question #278826

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

1
Expert's answer
2021-12-12T12:19:06-0500
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





Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS