Question: can anyone help code this in java Problem 1: Well, it ain't a Picasso: A local painting company has asked you to create an algorithm

can anyone help code this in java  can anyone help code this in java Problem 1: Well, it
ain't a Picasso: A local painting company has asked you to create

Problem 1: Well, it ain't a Picasso: A local painting company has asked you to create an algorithm to help them figure out how much paint they need for each job when they are giving estimates A single gallon of paint will cover 400 square feet of wall. You need to ask the customer how many walls they need painted, the average height and width of each wall and what color paint they want used. After getting the inputs, your algorithm should determine and display the total square feet of the walls to be painted along with how many gallons of the desired color paint that the job would require. Note: Area of a rectangle is length width so it would be height width for a wall. Sample Output: How many walls would you need painted? 2 What is the average height? 10 What is the average width? 10 What color paint do you want? Purple Painted 200 ft 2 of wall the color Purple It took 0.5 gallons of paint Program 2: Pythagorean Theorem: The KSU Math department has asked you to help them by writing an algorithm to grade tests more quickly when the questions involve the Pythagorean Theorem (a + b c ) ite your program to get the values for the two sides of the triangle (a & b) and then calculate and display the length of the hypotenuse (c) using the formula. Note: C# uses Math.sqrt(), C++ uses sqrt() and Java uses Math.sqrto put the value you want the square root of inside the parentheses. Sample Output: What is side A's length? 5 What is side B's length? 5 Hypotenuse is: 7.0710678118654755 Sample Output 12: What is side A's length? 10 What is side B's length? 10 Hypotenuse is: 14.142135623730951 Program 3: Help for Australia: Due to the wildfires in Australia, the Red Cross has asked for assistance in determining how many trees were destroyed per hectare. Australia has a tree density of 456 trees per acre. A hectare is equal to 2.47 acres. Write the algorithm that determines the conversion from acres to hectares then gets the user's input on how many hectares were destroyed on a given day. Then print the total number of trees destroyed by fires based on the information entered by the user and the conversion calculation. Sample Output: How many hectares were destroyed today? 2 This many trees were destroyed: 2252.6400000000003 Sample Output #2: How many hectares were destroyed today? 10 This many trees were destroyed: 11263.2 Sample Output #3: How many hectares were destroyed today? 50 This many trees were destroyed: 56316.00000000001

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!