Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Random
//Title of this code //Rextester.Program.Main is the entry point for your code. Don't change it. using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Program { public static void Main(string[] args) { string a; Console.WriteLine("cate litere aleatori vrei"); int n=int.Parse(Console.ReadLine()); int i; for(i=0;i<n;i++) { Random random = new Random(); int r = random.Next(65, 123); if(r>90 && r<97) r=r-6; a=a+Convert.ToChar(r); } Console.WriteLine(a); } } }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
4.1 Composition
Project Euler Problem 4
Proj2
Pramod
Min max elements swap of the array
asdfghjiu
Math 10.93 added fracOp
Boyer Moore String Search
hacker
8
Please log in to post a comment.