Hello, I’m working on this task:
Fix the program so it outputs ‘Turn on video with kittens!’ You’ll need to keep the if statement and create the bool variable.
Here is my code:
namespace Booleans
{
class EveryoneLikesKittens
{
static void Main(string[] args)
{
bool kittensAreNice = true;
if (kittensAreNice)
{
Console.WriteLine("Turn on video with kittens!");
}
else
{
Console.WriteLine("I'm a dog person");
}
}
}
}
I think is solved but when I click the play button, it won’t say anything nor save it with thumbs up or say something is wrong, it just won’t do anything.
Can someone help me?