Answer to Question #137029 in C# for Jenalyn Gorospe

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.
1
Expert's answer
2020-10-06T14:33:58-0400
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!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS