Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Merge two array
//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) { Int [ ] arr1 =new int [150]; Int [ ] arr2=new int [150]; n=Convert.ToInt32(Console.ReadLine()); for ( i=0;i>n;i++) { arr1[i]= Convert.ToInt32(Console.ReadLine()); } for ( i=0;i>n;i++) { arr2=arr1; } for ( i=0;i>n;i++) { Console.WriteLine(arr1[i]); } for ( i=0;i>n;i++) { Console.WriteLine(arr2[i]); } } } }
run
|
edit
|
history
|
help
0
Fórum ➡ Rotating a Square Matrix One Cell Counter Clockwise
squaredigits
QLSV
h
miner
Logistics Predictor 5
concat
extrefGenerate
un poco de strings
Working with Dictionaries (csharp)