00:01
So as it is given in the question first of all we will take a variable h that will store the walls height.
00:08
So we are taking the input we will be using float function because the height and width can be a floating point number.
00:17
So float and in order to take the input we are using the input function.
00:23
We will enter walls height.
00:35
Similarly we will take a variable w that will store the walls width.
00:39
We will take the input function and then we will enter walls.
00:47
Next we have to calculate the area so we are taking this variable area that is equals to h into that is height into width.
01:06
Now we will print walls area is area and then we will print square feet.
01:31
Next we have to take a variable let's say we are taking it as gallon.
01:36
We have to initialize this with the variable 350.
01:43
This variable represents the amount of paint that covers so in gallon that is equals to 350 square feet.
01:51
So we have to print the paint amount of paint needed.
02:02
The amount of paint needed will be equals to area by gallon.
02:15
Next we will take we also have to calculate then we will print cans needed.
02:25
So how many number of cans are needed.
02:30
So when we are printing cans needed we have to round it off to the nearest integer.
02:34
So we are rounding it off rounding area by gallon.
02:44
So we have calculated the paint needed also the cans needed.
02:48
Now we will take one more input from the user that is which color he wants for the painting.
02:54
So we will write input enter color...