×
×
Correct!
Fill in the missing parts to print a number put in by the user:
Console.WriteLine("Think of a number:");
int myNum = Convert.@(7)(Console.@(10));
Console.WriteLine("Your number is: " + myNum);
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! |
This will reset the score of ALL 58 exercises.
Are you sure you want to continue?