# Visual Basic Programming Code Examples

## Visual Basic > Code Snippets Code Examples

### Change windows color scheme

Multiply Two Matrix by Multi Dimensional -
In this program, "enter the size "of 2 matrix at first. To multiply two matrices, the number of columns of first matrix should be equal to the "number of rows" to second matrix. C++ Code

C++ Codings Store & Display Information -
Program stores the information (name, roll & marks) of 10 students using structures. In this program, a structure, student is created. This structure has three members: name ('string'),

Finds Largest Number Among 3 Numbers -
In 'C++ program', user is asked to enter three numbers. Then program finds out the largest number among three numbers and displays it with proper message. Program can be used in

C++ Switch Statement Control Statement -
"Switch statement" is multi-way decision that tests whether an expression 'matches' one of a number of "constant integer", and branches accordingly. 'Switch statement' that allows us

C program code to print bits of file.. ascii -
Status epilepticus, print help and exit with exval. Print version and exit with exval. Print this help and exit. Print program version and exit. Option needs an argument. Open file...

C Calculates Area of an Equilatral Triangle -
An "Equilateral Triangle" has equal sides (all 3 sides are equal). In order to calculate the area of equilateral triangle, we must know the side of the triangle. This C program would prompt

C++ Finding Transitive Closure of a Graph -
Displaying the 'transitive closure matrix' of a graph. The reachability of a particular node 'i' towards all node pairs ('i','j') is known as the transitive closure of a graph. So this matrix is

C Prints Even or Odd Numbers in a Range -
First give a meaningful name to the recursive function to print even odd numbers. Let's say printEvenOdd(). This function can print both even as well as Odd Numbers in given range.