Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Contraseña final
//Rextester.Program.Main is the entry point for your code. Don't change it. //Compiler version 4.0.30319.17929 for Microsoft (R) .NET Framework 4.5 using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Program { public static void Main(string[] args) { //Your code goes here Console.WriteLine("Generador de contraseña"); Random r=new Random(); int a; Console.WriteLine(); Console.Write("La nueva contraseña es: "); for (int cont=0; cont<=9;cont++) { a=r.Next(0,16); if(a<=9) { Console.Write(a); } if(a==10) { Console.Write("A"); } if(a==11) { Console.Write("B"); } if(a==12) { Console.Write("C"); } if(a==13) { Console.Write("D"); } if(a==14) { Console.Write("E"); } if(a==15) { Console.Write("F"); } } } } }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
Symantic check for object type variables
iLoveLizzy
Arreglo
Nested Namespace
Explorer Diamond
ColoredTriangleVaoOpenTK4OpenGL31 (Added shaders to Program.cs)
Seizoen bepalen in C#
1 -5 6 x1=3 x2=2
PrimeiroProjeto
Problem: rstring
Please log in to post a comment.