Apuntes
Take in an output variables Console
Contenido del apunte (1)
Página 1
//declare variables
int number;
//print statement
Console.WriteLine("Please enter a number:");
//read what was input into console and attach to variable.
number = int.Parse(Console.ReadLine());
//output variable after reading
Console.WriteLine("This is the number you entered " + (number));
//read the writeline above
Console.ReadLine();
Información
- Descripción
- Apunte sobre Take in an output variables Console, creado por spmooney101 el 20/10/2015.
- Creado por
- spmooney101 · oct 2015
- Actualizado
- 19 feb 2016
- Visitas
- 1
- Valoración