# Visual Basic Programming Code Examples

## Visual Basic > API and Miscellaneous Code Examples

### Get the error message associated with and API error number

Convert Uppercase Character to lowercase -
To convert "from uppercase to Lowercase" in 'C++', enter character in uppercase to convert it into 'Lowercase' and display the equivalent character in lowercase. To change uppercase

Display largest element of an input Matrix -
C language code to pick & display the largest element of an input matrix. How many rows in the matrix? How many columns in the matrix? The largest element of the matrix is

Find sum of prime numbers in given range -
C program to find sum of all prime numbers between 1 to N. Input Lower and Upper limit from user. Find prime numbers in the range. Check if the current number x is Prime or not.

C Program code Simple Account software -
Enter the Name of the Custumer. Enter the Acc.no of the Custumer. Enter the Balance of the Custumer. Enter the name of Customer whose rec. is to be modified. Enter the new

Add Two Matrix Using Multi-Dimensional -
In this program, user is asked to entered the number of rows r & columns c. The value of r & c should be less than 100 in this program. Then, the program adds these two matrices,

C Programming Language Mode Program -
C In Statistics Maths, a mode is a value that occurs the highest numbers of time. Example assume a set of values 8, 5, 4, 7, 8. mode of this value set is 8 as it appears more than any

Accept Two Integers and Check if They are -
Take the two integers as input and store it in the variables x & y respectively. Using if, else statements check if x is equal to y. If they are equal, then print the output as "x and y are...

C Convert Binary to Octal Number System -
In C program user is asked to enter the binary number and the program then converts that binary number to the octal number by calling a user defined function. To understand this...