+ 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

25th May 2019, 2:32 PM
Dharma Fattahul Winzi
4 Answers
+ 2
You need set x with Console.ReadLine https://code.sololearn.com/cxu0ucbgz3Rv/?ref=app
25th May 2019, 3:32 PM
sneeze
sneeze - avatar
+ 1
sneeze what int.parse used for?
27th May 2019, 10:14 AM
Dharma Fattahul Winzi
+ 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.
27th May 2019, 3:13 PM
sneeze
sneeze - avatar
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
7th Feb 2025, 9:06 AM
Mark Millin
Mark Millin - avatar