This is a practice assignment for a class i'm in, and i can't figure out how to go about it. Could you please give some guidance/help on completing this
void roomAreas(double len1, double len2, double height, double &wallArea, double &ceilingArea, double &floorArea) { wallArea = (len1 * height + len2 * height) * 2; ceilingArea = len1 * len2; floorArea = len1 * len2; } double totalRoomCosts(double len1, double len2, double height, double paintCost, double cTilesCost, double flooringCost) { double wallArea, ceilingArea, floorArea; roomAreas(len1, len2, height, wallArea, ceilingArea, floorArea); return paintCost * wallArea + cTilesCost * ceilingArea + flooringCost * floorArea; }
This is a practice assignment for a class i'm in, and i can't figure out how...
PART-2 (12 Marks) Q5. i. List any four types of obstacles in chaining. ii. Discuss the same with neat labelled sketch and explain the principles how to solve it? 141 PART-1 (10 marks) Q1. The details for a retaining wall base are given below: i. Thickness/depth of PCC - 15 cm ii. Thickness/depth of RCC = 62.5 cm iii. Width of RCC base = 100 times the thickness/depth of the base. iv. Width of PCC = 12.5 cm projection to...
CENGAGE MINDTAP gramming Exercise 3-8 PaintCalculator.java Instructions Assume that a gallon of paint covers about 350 square feet of wall space. Create an application with a main() method that prompts the user for the length, width, and height of a rectangular room. Pass these three values to a method that does the following: 1 import java.util.Scanner; 2 public class PaintCalculator { 3 public static void main(String args[]) { // Write your code here public static double computeArea double length, double...
please explain in C++ only This program determines how much it cost to paint a room Please write a program which determines and prints out three results. 1. The number of exact gallons of paint to paint the walls and the ceiling (NOT THE FLOOR) of the room if 1 gallon is enough to paint 400 square feet. 2. How many gallons of paint you need to buy since you cannot buy part of a gallon. So if you need...
C++, please make it as simple as possible. A Paint Company is hiring you to develop an application to estimate the costs for a job. They have determined that for every 120 square feet of wall area, one gallon of paint and eight hours of labor is required. The company charges US$ 18.00 per hour for labor. Write a modular program that allows the user to enter the number of rooms that are to be painted and the price of...
(1) Prompt the user to input a wall's height and width. Calculate and output the wall's area. (Submit for 2 points). Enter wall height (feet): 12 Enter wall width (feet): 15 Wall area: 180 square feet (2) Extend to also calculate and output the amount of paint in gallons needed to paint the wall. Assume a gallon of paint covers 350 square feet. Store this value using a const double variable. (Submit for 2 points, so 4 points total). Enter...
AllPaint is a shop that specialises in household paint products. They have approached you, an application developer for your services. They want you to develop an application that they will use in their shop to estimate the amount of paint that customers would need to purchase when they supply dimensions of their houses. Furthermore, they want you to integrate this system with their point of sale system, which would enable them to process paint sales. To process a sale, the...
(1 point) Your task is to design a rectangular industrial warehouse consisting of three separate spaces of equal size. The wall materials cost $55 per linear foot and your company has allocated $52800 for those walls. 1) The dimensions which use all of the budget and maximize total area are length L= (include units in this answer) width W= (units needed here too) 2) Each of the three (equal size) compartments has area (include units) A box is contructed out...
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...
In C++ Amanda and Tyler opened a business that specializes in shipping liquids, such as milk, juice, and water, in cylindrical containers. The shipping charges depend on the amount of the liquid in the container. (For simplicity, you may assume that the container is filled to the top.) They also provide the option to paint the outside of the container for a reasonable amount. Write a program that does the following: Prompts the user to input the dimensions (in feet)...
**JAVA** Hi! Can't figure this out, but if you could give it a shot, I'd appreciate it! Everything is explained in the program via comments, and I just need help implementing the methods. Instructions for the methods are commented on top of said method. It's supposedly straightforward. Methods that need to be solved are in bold. Some might already be implemented. Just based off what's in this class, is supposed to lead to the outcome. This is all the info...