Wednesday , August 21 2019

Tag Archives: arrays

C# – More on arrays, loops and conditionals (Part 2)

  This is the 2nd part of: More about arrays, loops and conditionals (Part 1) Part 2: Code for 3 x 3 matrix application: Put this below static void main() int[,] matrix = new int[3, 3] { {1,3,5}, {6,7,8}, {9,6,3} }; for (int i = 0; i < matrix.GetLength(0); i++) { for …

Read More »

C# – More on arrays, loops and conditionals (Part 1)

In this video we will revise what we have learned in our past videos. Making variables Taking inputs Loops Arrays Conditionals and switch cases We will use these to achieve 2 tasks: Calculator 3 x 3 matrix using 2D arrays. I have broken the video in 2 parts to not …

Read More »

C# – Arrays

What is Array? An array is a container object that holds a fixed number of values of a single type. The length of an array is established when the array is created. After creation, its length is fixed. This is how an actual array look like:   In this video …

Read More »

JAVA #14 – Dynamic user input on Array in Java (Console)

  Dynamic user input on Array in Java One of the strengths of Java is the huge libraries of code available to you. This is code that has been written to do specific jobs. All you need to do is to reference which library you want to use, and then …

Read More »

JAVA #13 – Arrays in Java

Arrays An array is a container object that holds a fixed number of values of a single type. The length of an array is established when the array is created. After creation, its length is fixed. You have seen an example of arrays already, in the main method of the “Hello World!” application. This …

Read More »