Menu
×
×
Correct!
Exercise:Fill in the missing parts to print a number put in by the user:
Console.WriteLine("Think of a number:");
int myNum = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("Your number is: " + myNum);
Not CorrectClick here to try again. Correct!Next ❯Console.WriteLine("Think of a number:"); int myNum = Convert.(Console. ); Console.WriteLine("Your number is: " + myNum); |