Explore BrainMass
Share

Explore BrainMass

    Pseudocode for a Real Life Process

    This content was COPIED from BrainMass.com - View the original, and get the already-completed solution here!

    Please assist with the following question so that I may complete my assignment. I have the bulk of it done already but I am lost on how to write what I need in pseudocode.

    Calculate the usable area in square feet of house. Assume that the house has a maximum of four rooms, and that each room is rectangular.
    These are the dimensions I chose below. How would I write this in psuedocode.

    Kitchen: W=10,L=16
    Living Room: W=12, L=18
    Bathroom: W=6, L=9
    Bedroom: W=10, L=10

    =530 sq ft

    © BrainMass Inc. brainmass.com October 10, 2019, 8:12 am ad1c9bdddf
    https://brainmass.com/computer-science/pseudocode/pseudocode-real-life-process-613440

    Solution Preview

    For pseudocode problems like this, think at a very high level what you need to do. It helps to think about how you would actually do it in real life. In real life, you would go into a room, measure the length and width of the room, multiply the length and width to get the square footage, and then record the square footage. Then you would repeat for every room until there are no rooms left. Then you would add all ...

    Solution Summary

    Use pseudocode to describe the process of measuring the total square footage in a house. Pseudocodes are examined.

    $2.19