Skip to content
Advertisement

I need to figure out how much paint is needed to cover an area, I’m having problems with it. Help me or give me an idea

JavaScript

How many barrels will be needed 5,12,18,4,8,1 (will gradually get from the largest part to the smallest part)

Advertisement

Answer

The whole file can look like that

JavaScript

Look at the variable names, meaningful variable names are very important, if you want your code to be supported easily. And of course you can change the value of variables.

User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement