Hello, I’m working on this task:
The biggest machine known to us is a huge cube, measuring 317 meters in each direction, and it is called “Dominator.” To stop Dominator, we plan to paint it with a machine-destroying paint. Write a program that calculates how much paint we will need to totally paint all six sides of Dominator, if painting 1 square meter takes 20 grams of paint. You have studied geometry, haven’t you? Output the result using string interpolation in the format:
I need ** grams of paint.
Here is my code:
public static class PaintTheDominator
{
public static void Main()
{
Console.WriteLine("I need {12058680} grams of paint.");
}
}
Can anyone please help me to solve it?