Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
NumsToVars
using System; using static System.String; 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 string str = Console.ReadLine(); str=str.Replace('1', 'A'); str=str.Replace('2', 'B'); str=str.Replace('3', 'C'); str=str.Replace('4', 'D'); str=str.Replace('5', 'E'); char [] ar = str.ToCharArray(); int num=33; for (int i = 0; i < ar.Length; i++) { Console.WriteLine(num + ":" + ar[i]); num++; } } } }
run
|
edit
|
history
|
help
0
asdxcscd
Fibonacci Series
Generics Operator test
Find Prime number
List Compare and print - Except
Generate Secure GUID
a
Reverse And Shift Char in String
Reverse String
Padma. C#