# Visual Basic Programming Code Examples

## Visual Basic > Forms Code Examples

### Create a Topmost or Floating Dialog

In C++ Graph Coloring on Bipartite Graph -
The problem takes a bipartite graph as input and outputs colours of the each vertex after 'coloring the vertices'. The "Bipartite Graph" is a graph in which the set of vertices can be

Reverse the Digits of a Number in 3 Steps -
C programming code to reverse the digits of a number in 3 steps. Store number in form of string. Reverse string using strrev function. Convert string to number. Printing reversed

Prints the Sum of all Odd Numbers in C++ -
The digit sum of a given integer is the sum of all its digits (digit sum of '84001' is calculated as 8+4+0+0+1 = 13). Odd number is an integer which is not a multiple of two. If it is "divided"

C code simple Two Dimensional(2D) Array -
Program code demonstrates how to store the elements entered by user in a 2d array and how to display the elements of a 2D array. Two dimensional array in C programming is

C Code Find area of an equilateral triangle -
C program code input side of an equilateral triangle from user and find area of the given triangle. How to find area of an equilateral triangle in C. Area of an equilateral triangle

Implementation for Deterministic Skip list -
Finding the smallest item in the tree. Return smallest item or 'INFINITY' if empty. Find the largest item in the tree. "Return the Largest" item or INFINITY if empty. Find item x in the

Code Checks Even or Odd using Functions -
Program input a number from user and check whether given number is Even or Odd using functions. Declare function to find even odd. First give a meaningful name to our function,

Find sum of Even Numbers in given Range -
Input upper limit to find sum of even number. Store it in a variable say N. Initialize another variable to store sum with 0 say sum = 0. To find sum of even numbers we need to iterate