jouri
❔ How do you recommend going about learning how to code.
So, I am horribly new to coding, I just followed a tutorial of 4 hours throughout the past 3 days. Taking me a total of like 14 hours-ish cause I try not to forget or be unable to use whatever I learn.
But now what should I do, cause I feel like tutorials only go so far with learning the syntax a bit, but not really understanding how to use them or teaching you problem solving. Are there any steps you guys really recommend?
11 replies
❔ if you use a string command in an if command, can you make it case insensitive
so i'm really new to this, and decide to venture a bit away from the tutorial and I want to make it work.
So what I have currently is just a basic
Console.Write("Enter your name:");
string name = Console.ReadLine();
etc.
but I'm stuck at a part where I did
Console.Write("Hello " + *name *+ " you are " + *age* + ". is this correct:");
string *correct* = Console.ReadLine();
if (*correct *== "YES")
{
Console.WriteLine("Great :D");
Console.ReadLine();
return;
}
if (*correct *== "NO")
{
Console.Write("Do you want to try again?");
The code works, but it's case and space sensitive, which makes it really annoying to answer the question. Is there a fix for this?22 replies