You and a group of your friends start a business painting houses over the summer
ID: 3669414 • Letter: Y
Question
You and a group of your friends start a business painting houses over the summer. You find some 'clients' in a neighborhood of homes with very similar architecture (shown below). Your business operates on a very tight budget, so you want to minimize the cost of buying paint. With your engineering knowledge you are asked to come up with a 'plan' for writing a program that can estimate the cost of paint needed for each home. Without actually writing a program, decompose how you would go about estimating the amount of paint needed for each home. This should include: A sketch/schematic of a house calling out the key dimensions, as variables, that you would need for calculations The formula for the calculations (in variable form) List any assumptions you make for the estimate (ex. Painting the roof? Number of coats, Pseudocode/Program Operation - Outline briefly how the program would work (general terms: inputs, computations, outputs) Flow Chart for how the program would workExplanation / Answer
the inputs that we need to take from user is the dimensions of walls and the quality of paint (high or low) and number of coatings .let us consider one paint can is used for 16X20 wall so based on the user input we need to calculate number of paint cans needed.for suppose one can cost is $50 the based on the number of cans we need to calculate the cost(no.of cans * 50)
the outputs should be number of cans and total cost(cost of paint cans+cost for work)
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.