# Visual Basic Programming Code Examples

## Visual Basic > Other Code Examples

### Determining which Keys are currently pressed

Count total number of notes in an amount -
C program input amount and print minimum number of notes (Rs. 500, 100, 50, 20, 10, 5, 2, 1) required for the amount. There any many optimal algorithms to solve given problem.

Removing First Occurrence of a Character -
C program to "read any string" from user and Remove first Occurrence of a given character from the string. The program should also use the concept of functions to remove the given

C++ Find the HCF and LCF of 2 Numbers -
Enter the two number, to find the HCF and LCF of the given two number to display the value of the HCF and LCM of the 2 numbers on the output screen as shown here in code

Calculates Area & Circumference of Circle -
To calculate area and circumference we must know the radius of circle. C program code will prompt user to enter the radius and based on the input it would calculate the values. Make

Compile Ttime Polymorphism in The C++ -
In this C++ example, we have two functions with "same name" but different number of arguments. Based on how many parameters we pass during Function call "Determines"

Postfix Increment Operator Overloadings -
Increments ++ & Decrements -- operator are overloaded in best possible way, increase the value of a data member by 1 if "++ operator" operates on an object and decrease value of

C++ Code to Calculate Standard Deviation -
Program calculates the standard deviation of 10 data using arrays. This program calculates the 'standard deviation' of a individual series using arrays. calculate "Standard Deviation",

Takes octal number as input and converts -
C Program take the octal number as input and store it in the variable octal. Initialize the variables decimal and j to zero. Obtain the remainder and quotient of the octal number.