DEZNIT


Pascals Triangle Program

What is a Pascal's Triangle ? A triangular array of numbers in which those at the ends of the rows are 1 and each of the others is the sum of the nearest two numbers in the row above. Points to note We have to get number of rows as...


Half Pyramid Program

What are we going to create today? Today we are going to create some Half Pyramids using numbers and symbols The pattern will look like the following. Half Pyramids 1 12 123 1234 12345 * ** *** **** ***** Inverted Half Pyramid 12345 1234 123 12 1 ***** **** ***...


Linear Search

What is Searching ? In Data Structures searching refers to finding the location of a data element or printing some message if data element is not found. Linear search is the simplest meathod of searching a data element ITEM in a linear array ARR[ ]. It follows the simple method...


Something About Arrays

What are Arrays ? An array is a list of finite number of n homogeneous elements. In other words we can say that it's a collection of data elements of similar kind. The size of an array can be determined by the following formula. Size of array "n" = Upper...


ES6 / ES2015 - LET AND CONST

What is ES6 / ES2015 Before we start with learning what are the new things in ES6 and why we should use ES6 we should know what is ES6, so here is a short explanation. ECMAScript 6, also known as ECMAScript 2015, is the latest version of the ECMAScript standard....