# Visual Basic Programming Code Examples

## Visual Basic > Forms Code Examples

### How to make a modeless form

C Add two numbers and display their sum -
C program code input two numbers from user and calculate their sum. C program to add 2 numbers and printing their sum as output. How to add two numbers in C programming.

Implement Graham Scan Algorithm Finds -
This is a C++ Program to implement Graham Scan algorithm. 'Graham's scan' is a method of computing the convex hull of a finite set of points in the plane with time complexity O(n

Using the Bellman-Ford Algorithm to Find -
Using the bellman-ford algorithm to find the shortest path between two vertices assuming that negative size edges exist in the graph. A Program to find the 'shortest path' algorithm

Check Even or Odd using Conditional and -
C input any number and check whether the given number is even or odd using bitwise operator. Check to whether a number is even or odd using bitwise operator in C. Logic to

Determine if a given Matrix is a Sparse or -
C Program determines the given matrix is a sparse matrix. Sparse matrix is a matrix with the majority of its elements equal to zero. Accept matrix and checks whether the given

Print Armstrong Numbers from 1 to 1000 -
Program code print Armstrong Number from 1 to 1000. An Armstrong number is an n-digit base b number such that the sum of its (base b) Digits Raised to the Power n is the number

Code Concatenates 2 Strings in One String -
Concatenation of 2 strings is simple copying a string to another. To concatenate two Strings str1 & str2, you will copy all characters of str2 at the end of str1. 'Store it in' a variable str1 &

C Calculate Total Average and Percentage -
Input marks of five subjects of a student and calculate total, average and percentage of all subjects. Calculate total average percentage in C programming. Find total, average and...