expand icon
book Programming Logic and Design, Introductory 7th Edition by Joyce Farrell cover

Programming Logic and Design, Introductory 7th Edition by Joyce Farrell

Edition 7ISBN: 1285225562
book Programming Logic and Design, Introductory 7th Edition by Joyce Farrell cover

Programming Logic and Design, Introductory 7th Edition by Joyce Farrell

Edition 7ISBN: 1285225562
Exercise 13

a. Draw a flowchart or write pseudocode to represent the logic of a program that allows the user to enter values for the width and length of a room’s floor in feet. The program outputs the area of the floor in square feet.

b. Modify the program that computes floor area to compute and output the number of 6-inch square tiles needed to tile the floor.

Step-by-step solution
Verified
like image
like image

Step 1 of 2

a.

The following pseudo code inputs width and length of rectangle from user, then calculates area of floor.

start

inputwidth

output height

setAreaFloor = width *height

output AreaFloor

stop


Step 2 of 2

close menu
Programming Logic and Design, Introductory 7th Edition by Joyce Farrell
cross icon