Sign in to test your solution.
// Countdown to launch program using System; using System.Threading; class Submission { // ------------------------- // Subprograms // ------------------------- static void countdown() { Console.WriteLine("T minus..."); for (int counter = 10; counter > 0; counter--) { Console.WriteLine($"{counter} ..."); Thread.Sleep(1000); } Console.WriteLine("0 ..."); Console.WriteLine("All engines running."); Console.WriteLine("Lift off, we have a lift off on Artemis 1."); Thread.Sleep(1000); Console.WriteLine("Tower clear."); Console.ReadLine(); } // ------------------------- // Main program // ------------------------- public static void Main(string[] args) { countdown(); } }
You can submit as many times as you like. Only your latest submission will be taken into account.
Sign in to test your solution.