# Visual Basic Programming Code Examples

## Visual Basic > Files Directories Drives Code Examples

### Extracting the icon from a file

C Codes Calculates Prints the Value of nPr -
In the following c program we are calculating the value of nPr based on the given values of n and r. nPr can also be represented as P(n,r). The formula of P(n, r) is: n! / (n - r)!. P(5, 2)=5!

Code Find the Biggest Number in an Array -
C Program to find the 'Biggest Number' in an array of numbers using recursion. C Program example printing the "Largest Number" in an unsorted array of elements 'Using Recursion'.

Increase 1 to all of the given Integer Digit -
Initialize variable sum to zero. Take a number as input and store it in the variable number. Obtain the remainder and quotient of the variable number. Store the remainder in the

C++ Check whether Graph is Biconnected -
A recursive function that returns true if there is an articulation point in a graph, otherwise returns false. If graph is Biconnected returns true, otherwise returns false. If this Graph is

Sort Rows of the Matrix Ascending Order -
Program code sorts the rows of the matrix in ascending & columns in descending order. This program accepts matrix. Then sorts the row in an ascending order & the columns in

Code Finding Minimum Number of Edges -
Program to find minimum number of edges to cut to make the 'graph disconnected'. An edge in an undirected connected graph is a bridge if removing it disconnects the graph.

C Calculate the total Revenue and Output -
C Programming Choosing the correct type: long. Calculate quarterly total. Output monthly sales and total for the quarter. Calculate the total revenue and output it.

Find the Trace & Normal of a given Matrix -
C Program find the trace & normal of a given matrix. Trace of the matrix is the sum of the elements of the main diagonal i.e diagonal from the upper left to the lower right of a...