Happy Codings - Programming Code Examples
Html Css Web Design Sample Codes CPlusPlus Programming Sample Codes JavaScript Programming Sample Codes C Programming Sample Codes CSharp Programming Sample Codes Java Programming Sample Codes Php Programming Sample Codes Visual Basic Programming Sample Codes


Visual Basic Programming Code Examples

Visual Basic > Code Snippets Code Examples

Display the day of the week





Program Finds Prime Factors of a Number - Factors of a number that are prime numbers are called as "Prime Factors" of that number. For example: 2 and 5 are the prime factors of 10. Logic to check prime factors of a number.

In C++ Graph Coloring on Bipartite Graph - The problem takes a bipartite graph as input and outputs colours of the each vertex after 'coloring the vertices'. The "Bipartite Graph" is a graph in which the set of vertices can be

Code Find Maximum Between 2 Numbers - C program code to input two numbers and find maximum between two numbers using conditional/ternary operator ?:. How to find maximum minimum between two numbers

Write Hello World Program C++ language - #include: This statements tells the compiler to include iostream file. This file contains pre defined "input/output functions" that we can use in our program. Comments as the names

C program code insert an element in array - Code insert an element in array at specified position. Insert element in an array at given position. The program should also print an error message if the insert position is invalid.

Replace First Occurrence of a Character in - C Code replace first occurrence of a character with another in a string. Input the string from user, store it in some variable say 'str'. Input a character to replace, character new character

Program to Implement strpbrk() Function - Locates "first occurrence" in string string1 of any character in string string2, If a character from string string2 is found, a pointer to the character in string 'string1' is returned, if not

C Program Code to Catch pressing Ctrl+C - Program example catches the Ctrl-C (SIGINT) signal for the first time and prints a output rather but exits on pressing ctrl-c again. You have presses Ctrl-C, please press again to exit