Answer to Question #194353 in Algorithms for simran

Question #194353

Bob a builder has come to you to build a program for his construction business. He needs to determine the square footage of a room in order to buy materials and calculate costs. Bob charges $425 per square metre. The program is going to ask the user to enter the name of a room. It will then ask for the width and length of the room (in meters) to be built. The program will calculate the room area and use this information to generate an approximate cost. Your program will display the room, the total area and the approximate cost to the screen. Using Pseudocode, develop an algorithm for this problem.  


1
Expert's answer
2021-05-17T09:56:23-0400
Start
  string name
  float length
  float width
  Input name of the room
  Input width of the room (in meters)
  Input length of the room (in meters)
  float area = length * width
  float cost = area * 425
  Print name
  Print area
  Print cost
Stop

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