# Visual Basic Programming Code Examples

## Visual Basic > Applications VBA Code Examples

### Binary Conversions

```
```

```
```

C Language Finding the Sum of H.P Series - This C program is used to find the sum of the 'Harmonic Progression Series'. H.P stands for harmonic progression. Harmonic progression is a progression formed by taking reciprocals

Display the product of two float numbers - In this c program, user is asked to enter two float numbers and the program stores the entered values into the variable j1 and j2. C program then multiplies entered numbers...

Program to Solve The Fractional Knapsack - Given a 'set of items', each with a mass and a value, determine the number of each item to include in a collection so that the total weight is less than or equal to given limit & the total

Generate Random Partition out of a Given - Program 'takes the input' of a set of integers or characters. It firstly generates the random partition of the "Length of the Set". Starting from the beginning, it 'prints the number' of

How to check Sparse Matrix in C language - C program to read elements in a matrix and check whether matrix is Sparse matrix or not. C code to determining sparse matrix. Sparse matrix is a special matrix with most of its...

Find k Numbers closest to Median of the S - Firstly We need to find k numbers which have a minimum difference with the median of the data set. It includes sorting using 'Quick Sort' and then printing k numbers as a result. Time

Program Prints Natural Numbers in Range - Using above logic you can easily find a way to print natural numbers in range. If not here is a hint. Input start limit from user and store it in some variable say start. Input end limit from