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 > Forms Code Examples

Adding custom text in a Statusbar pannel (inc. setting backcolor)

Triangle is Valid or not if Angles are given - C Program code to check whether a Triangle is valid or not if angles are given using if else. Input all three angles of triangle in a variable say angle1, angle2 and angle3. Find sum of...

C Program Flip all Bits of a Binary Number - Flipping a bit means toggling or inverting the current bit status. If the current bit is set i.e. 1 than invert it to 0 and vice versa. Flip all bits of a binary number you can run loop from 0...

Generate Random Subset by Coin Flipping - Prints a 'subset' of the given array using coin flipping method. The time complexity of this algorithm is O(n). Takes the input of 'n' data element and prints a possible subset. that, it

Printing 100 Ramanujan Numbers 2 Ways - C++ Sample code Print first 100 "Ramanujan Numbers" by TWO WAYS 1st way is printing ramunajan numbers from RN taking RN from 0 to INFINITY & print first 100 numbers. 2nd

C++ Describe the Representation of graph - Takes the input of the 'number of vertex'. For each pair of vertex ask user whether they are connected or not. Print the adjacency matrix. A function to print the adjacency matrix. And

C Program to Find Reverse of any number - C program code to input a number from user and find reverse of the given number using for loop. Input number to find reverse. Store it in some variable say j. Declare & initialize...

Decimal equivalent of input Hexadecimal - Program to display the decimal equivalent of an input hexadecimal number (Hexadecimal to Decimal). How many digits in input? Digits of your i/p no. must not exceed entered limit

C Codes Size of Structure Sizeof Operator - C structure is collection of elements of the different data types. Size of the structure can be evaluated using "sizeof operator". Sizeof is operator not function. Sizeof operator takes