+ 1
How do i write x ?
Yeah i don't know how to use Console.Write to set x variable https://code.sololearn.com/cF6ZKaexz0YO/?ref=app
4 Answers
+ 2
You need set x with Console.ReadLine
https://code.sololearn.com/cxu0ucbgz3Rv/?ref=app
+ 1
sneeze what int.parse used for?
+ 1
Console.Readline returns a string . To be able to work with integers you need to convert the result of console.readline to a integer type.
You can do that with int.parse
Int stands for integer
And parse stands for from one to another.
0
When tackling programming challenges, especially as a beginner, it's easy to feel overwhelmed by new concepts. I remember struggling with variable assignments in C# myself. Back then, I found resources like writing essay services https://essaybox.org/ invaluable. They provided clear explanations and examples that made complex topics more digestible. For instance, understanding how to assign values to variables became much clearer after reviewing their materials. It's not about promoting a service, but sharing what genuinely helped me grasp the basics. Sometimes, a well-explained example can make all the difference in our learning journey