C# C# Basics (Retired) Console I/O Say Hello!

Hermes Crespo
Hermes Crespo
980 Points

I believe I have entered the correct answer but the site keeps saying that my answer is incorrect

Hi.

I believe I have entered the correct answer but the site keeps saying that my answer is incorrect

I did enter the string in double quotes.

CodeChallenge.cs
class  Program
{
        static void Main()
        {
            System.Console.Write("Enter workout in minutes");
        }
}

2 Answers

John Lindsey
John Lindsey
15,625 Points

Is this for the "Say Hello" challenge that is linked to the question? For that challenge, all the problem wants you to do is add the string "Hello" in the System.Console.Write() method.

System.Console.Write("Hello");
Hermes Crespo
Hermes Crespo
980 Points

Thanks a million !! :)

Hermes Crespo
Hermes Crespo
980 Points

That is what I just said. I entered the correct answer which is just to put “Hello” in the parenthesis! But the site keeps telling me that my answer is wrong and DOES NOT let me move forward.

John Lindsey
John Lindsey
15,625 Points

Sorry. Your code snippet above made me wonder if you were working on a different challenge. The code snippet I provided above passes the challenge for me. Sometimes if a challenge isn't acting correctly, it will work if I refresh the challenge.