Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
2
//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) { string userInput; int Index; Console.WriteLine ("Enter the index of number"); userInput = Console.ReadLine(); Index = Convert.ToInt32(userInput); Console.WriteLine("You entered {0}",Index); int[] Num = { 25, 35, 45, 55, 65 }; Console.WriteLine("Number in your index {0} ",Num[Index]); } } }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
Single Line Date in Months
C# program to Determine if Two Words Are Anagrams of Each Other
Swap numbers without the third variable using the XOR operator
asxsdxasd sd
Side1-2
p link gener tor
Namespaces multiple
Typeing
sss
Dungeon Game
Please log in to post a comment.