# Visual Basic Programming Code Examples

## Visual Basic > Applications VBA Code Examples

### Functions for calculating the Min, Max and StdDev

Finds Strongly Connected Components in -
This is a C++ program "Displays the Nodes" which are strongly connected to each other. Strongly connected subgraphs are those in which a path is available from any node of

The C++ Shortest path program using STL -
Process a request; return false if end of file. A simple main that reads a file given by argv[1] and then calls "processRequest" to compute shortest paths. Then 'Skimpy' error checking

Finds First & Last Occurrence of Character -
Take a string and a character as input. Store it in the array "str[]" & variable key respectively. Using for loop search for the variable key. If it is found then increment the variable count. If

C Check Whether a number is Even or Odd -
C Program code to Check Whether a number is even or odd using if else. A number exactly divisible by 2 leaving no remainder, is known as even number. Any number modulo divided

Counts Numbers of Vowels & Consonants -
C program to find total number of vowels and consonants in a string using 'Loop and If Else'. Input string from user, store it in a variable str Initialize two other variables to store vowel &

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,

Encode the String Display Encoded Strings -
Read a 'five-letter' Word into the pc, and then encode the word on a letter-by-letter basis by subtracting 30 from the Numerical value that is used to represent each Letter. Thus if ASCII

Implement Prims algorithm using greedy -
C Program code implement prims algorithm using greedy method. For first smallest edge. We have fist smallest edge in graph. We have to find min dis of each vertex from either...