Question #137029

1.) A circular racetrack is composed of 4 portions: concrete, mud, sand, and asphalt. Schumacher’s car takes 15 seconds to cross the concrete, 20 seconds to cross the mud, 35 seconds to cross the sand, and 30 seconds to cross the asphalt.

Expert's answer

using System;


namespace ConsoleApp
{
    class Program
    {
        static void Main(string[] args)
        {
            double
                concreteTime = 20,
                mudTime = 35,
                sandTime = 35,
                asphaltTime = 30;


            Console.WriteLine($"Schumacher’s car needs about {concreteTime + mudTime + sandTime + asphaltTime} seconds to complete one circle");
            Console.ReadKey();
        }
    }
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS