+ 6
C# help
Does anyone know how I would ask the user for a integer input and how to store that int as a variable and print what they inputed ?
2 Answers
+ 3
int x = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("Your input: {0} ", x);
//check out the lesson
//https://www.sololearn.com/learn/CSharp/2585/?ref=app
+ 5
Thank u