Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
масиви част1
//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) { //Your code goes here //масиви int[] num= new int[10]; num[0]=6; num[1]=8; num[2]=88; num[3]=6; num[4]=63; num[5]=6; num[6]=6; num[7]=4; num[8]=6; for (int i=0;i<num.Length;i++) Console.WriteLine(num[i]); Random rand=new Random(); int r; r=rand.Next(0,45); Console.WriteLine("is a :"+r); int z=0; float rr; while(z<4){ rr=rand.Next(0,10); z++; Console.WriteLine(" anothr is : "+rr); } int[] ar= new int[10] ; int ze=0; while(ze<5){ ze++; ar[ze]=rand.Next(0,100); Console.WriteLine("N :"+ze+" number "+ar[ze]);} } } }
run
|
edit
|
history
|
help
0
Basic event
Program
adxasxd
Listas JL
CommandForce2
Student Cables
pattern
Test
nr
Mostafa Shehata Ahmed