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

Rounds your numbers to specified decimals





C Store Information Name Roll and Marks - In this c program code, a structure, student is created. This structure has three members: name (string), roll (integer) and marks (float). Then, a structure variable s is created to store

Code Copy its Input to its Output Replace - Program sample to copy its input to its output replacing string of one or more blanks by a single blank. String will be terminated if you press ENTER. Press Ctrl-Z & then ENTER

Program to Accept Paragraph Using Scanf - C Language program accept paragraph using scanf. 'Scanf' accept Characters entered with spaces and it also accepts the words, newline characters. 'Represent' that all characters are

Coordinate Point in XY Coordinate System - C Program to read a coordinate point in a XY coordinate system & determine its quadrant. The program accepts X and Y. Depending on the Value of X & Y we need to Determine on

Code Print the Words Ending with Letter S - This program takes a string as input and print the words ending with letter "s". Take a string as input and store it in the array str[]. Find its length & add a blank space to the input string

C Checking Armstrong Number of n digits - Check Armstrong Number of n digits. In case of an Armstrong number of 3 digits, the sum of cubes of each digits is equal to the number itself. Example 407 = 4*4*4 + 0*0*0 + 7*7*7

Code Print Binary Equivalent of an Integer - Print "binary equivalent" of an integer. C code using recursion, finds the binary equivalent of a "Decimal Number". Decimal numbers are of base 10 while "Binary Numbers" are of base 2

Code Extract Last Two Gigits of the year - This c language program takes any year as input and prints its last two digits. Take any year as input. Divide the input by 100 and obtain its remainder. The remainder got is