# Visual Basic Programming Code Examples

## Visual Basic > Other Code Examples

### Instr with wildcards

Find Reverse of a Number using Recursion -
Declare recursive function to find reverse of a number. Lets give a meaningful name to our function, say reverse(). C function computes reverse of number, hence it must accept an...

C++ Using The If Else Ladder Else If Clause -
The "expressions" are evaluated in order; if an expressionis true, the 'statement' or 'block of statement' associated with it is executed, and this terminates the whole chain. The Code for

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

Convert String to Lowercase using strlwr() -
C code convert uppercase string to lowercase using 'For Loop'. Internally characters in C are represented as integer value known as 'ASCII' value. Which means if we write a or any other

Program to Generate All Pairs of Subsets -
The "time complexity" of this algorithm is O (n*2^n). This algorithm takes the input of 'n' data element and prints unique subset pairs whose union gives the set. It generates 0 to

C Decimal to Binary, Octal HEX Converting -
C programming converting example. Decimal number to Binary number, Octal number and HEX number converter. Enter any number to be converted. The Number has to be in the...

Representation of Graph by Incidence List -
This algorithm takes the input of the number of 'vertex and edges'. Then it takes the input of connected vertex pairs. Print the incidence list representation of the graph. And for each

Count total number of Negative Elements -
C program to read elements in an array and count total number of negative elements in array. Program to find all negative elements in an array. Logic to count total negative and