Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Array Alternate elements
//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("Array Alternate elements"); int [] array=new int[222]; for (int i=1; i<=21 ; i++) { array[i]=i; } for (int i=1; i<=21; i+=2) { Console.WriteLine(array[i]); } } } }
run
|
edit
|
history
|
help
0
Exp Regular
lala
Only unique chars into string?
Square Integer Matrix
Print 2D Array
Prism area
Problem: fb_series
Converting an int to an int[] using linq.
123
tax cal