Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
yarirey
//Rextester.Program.Main is the entry point for your code. Don't change it. //Microsoft (R) Visual C# Compiler version 2.9.0.63208 (958f2354) using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Program { public static void Main(string[] args) { //comentarios /*comentario*/ //declaracion de variables string nom1; string apellido1; int edad2; int numcel1; int c.p1; //texto estatico Console.WriteLine("¿cuál es tu nombre?"); //texto dinamico nom1 = Console.ReadLine(); //texto estatico Console.WriteLine("¿cuál es tu apellido?"); //texto dinamico apellido1 = Console.ReadLine(); //texto estatico Console.WriteLine("¿cuál es tu edad?"); //texto dinamico edad2 = int.Parse(Console.ReadLine()); //texto estatico Console.WriteLine("¿cuál es tu número de celular?"); //texto dinamico numcel1 = int.Parse(Console.ReadLine()); //texto estatico Console.WriteLine("¿cuál es tu código postal?"); //texto dinamico c.p1 = int.Parse(Console.ReadLine()); //datodesalida Console.WriteLine("Tu nombre es: " + nom1); Console.WriteLine("Tu apellido es: " + apellido1); Console.WriteLine("Tu edad es: " + edad2); Console.WriteLine("Tu número de celular es: " + numcel1); Console.WriteLine("Tu código postal es: " + c.p1); } } }
run
|
edit
|
history
|
help
0
Jump Search
GetDataFromSQLGroups
My world
11.10
string test
quick sort
eryjuyhtgrfesdsadcfg
Scope variables
currency change
practice program