Happy Codings - Programming Code Examples
Html Css Web Design Sample Codes CPlusPlus Programming Sample Codes JavaScript Programming Sample Codes C Programming Sample Codes CSharp Programming Sample Codes Java Programming Sample Codes Php Programming Sample Codes Visual Basic Programming Sample Codes


       

Visual Basic Programming

Visual Basic Programming Language Code Examples




Program Generate All the Set Partitions of
This algorithm takes the 'Input of the Natural' number and prints all the possible partition of each number less than or equal to it. For each number, it starts with the number and breaks

Check if Given Binary Tree is an AVL Tree
This is a C++ Program to check if BST is AVL. An AVL tree is a self-balancing binary search tree. It was the first such data structure to be invented. In an "AVL tree", the heights of the

C++ Code Add Two Matrix with 2D Arrays
2 const variables row & col are used to define size. If we do not make both const then error found because without "const reserve word" they are behaving as variable. Before placing

C++ Sample Passing Pointers to Functions
"In C++", each 'parameter' was followed by an "ampersand sign" (&). (&) will pass an address of the original variable instead of by value. In Passed by reference, the original variable and

C++ Sample code Linear Search Algorithm
Linear search is method for searching a value within an array. It 'sequentially' checks one by one of the arrays for the 'target element' until 'match is found' or until all the elements have

Largest Rectangular Area in a Histogram
Get minimum of two numbers in hist[]. Get the 'middle index' from corner indexes. Get the index of minimum value in a given range of indexes. Then returns 'index' of minimum

C Insert an Element in a Specified Position
C Program inserts an element in a specified position in a given array. C Programming language code takes a user input and inserts the desired element in the specified position.

C Add two numbers and display their sum
C program code input two numbers from user and calculate their sum. C program to add 2 numbers and printing their sum as output. How to add two numbers in C programming.