Write pseudocode for an algorithm that is given the length and width, in feet, of a rectangular carpet and determines its total cost given that the material cost is $23/square yard.
Get L and W
set ()x23
PRINT total cost
get the length and width
// note: instructions say input is in feet. Must convert to yards
now or divide sq ft by 9 (1 sq yd = 9 sq ft.)
divide each by 3 to convert to yards.
Multiply length and width to sq. yards.
Multiply by $23/sq yards
Write pseudocode for an algorithm that is given the length and width, in feet, of a...
Flowchart 1: Create a flowchart for a program that calculates the total cost of carpeting a room. Assume that the room is rectangular. The data required for running the program will be the length of the room, the width of the room, and the cost per square yard of the carpet. When the user runs the program it must, in the following order: Prompt for the length of the room. Prompt for the width of the room. Prompt for the...
A rectangular piece of carpet covers 130yd2. the width is 4yd less than the length. find the length and width. round your answers to the nearest tenth of a yard. A rectangular piece of carpet covers 130 yd?. The width is 4 yd less than the length. Find the length and width. Round your answers to the nearest tenth of a yard. Part: 0/2 Part 1 of 2 The length is approximately lyd yd yd? yd х 6
The length of a rectangular window is 5 feet more than its width, w. The area of the window is 36 square feet. We wish to find both the length and width of the window. Please do the following: Write an equation that could be used to find the dimensions of the window USING ONLY ONE VARIABLE (w). Put that equation in standard form (so that all terms are on one side of the equation together equal to zero). FACTOR...
The length of a rectangular vegetable garden is 4 feet more than its width. After a 2 foot cement border is placed around the garden, the area of the garden and border is 320 square feet. Find the original width and length of the vegetable garden.
program language: python 3 Purpose: Solve a problem by writing multiple functions that perform different subtasks, and combining their use to solve a larger problem. Also to practice documenting functions. Degree of Difficulty: Moderate Your task is to compute the cost of renovating the flooring in a rectangular room. This includes replacing the carpet and and the baseboards. Your task is to write a Python program that calculates and the cost of the renovation. To accomplish this, you will need...
the length of a rectangular garden is 7 feet more than three times the width. the perimeter of the garden is 86 feet. find the area of the garden.
17. length of the yard, turn completely around, and go back along his newly cut line. If the width of the mower is 2.5 feet and he has to cut 25 rows to finish, what is the area of his yard? A) 3125 square feet B) 3000 square feet so C) 480 11as square feet D) 500 square feet 13. Andrew is mowing his rectangular backyard. His strategy is to mow a 50-foot row down the
A rectangular room has an area of 400 square foot. The length is 7 feet less than twice the width. How do you find the dimensions of the room?
Given a single linked chain of nodes with positive integers, write an algorithm in pseudocode to rearrange the nodes in one pass in such a way that all integers that are odd appear at the end. The relative order of the elements does not need to remain the same. List all the steps in the proper order that are necessary to rearrange the nodes, show how the next pointers are being changed. Each data element should “stay” in its original...
Need to solve this program which will run exactly like sample run .. Thanks Project 2 Using Classes and Objects (Chapter 3) Duc: sec calendar Two files to be submitted: . Algorithm of method main (AlgorithmOfMain.txt, no credit if this is missing) Java Source code (CarpetBill.java- no credit if this has syntax errors) Write a program that creates customers' bills for a carpet company when the information below is given: irst name .Length and width of the carpet in feet...