C# Massivin Elementlerini Tersine Duzer
using System; using System.Collections.Generic; using System.Text; // Massivin Elemetleri Cemi namespace MyConsoleApplication { class Program { public static void Main(string[] args) { int i,s,n; n=5; int[] a = new int[n]; Console.WriteLine(“Zehmet olmasa masssivi daxil:”); for ( i = 0; i < n; i++) a[i]=Convert.ToInt32 (Console.ReadLine ());; s=0; for ( i = 0; i < n/2; i++) { s=a[i]; a[i]=a[(n-1)-i]; a[(n-1)-i]=s; [...]
» Devamını Oku