HTML & CSS Web Design
Html Css > Code Examples
Adding an XHTML DOCTYPE declaration
C++ Mathematic Code Add Two Numbers -
In this C++ program, user is asked to enter 2 integers. Then, the sum of those 2 integers is stored in a variable and 'displayed' on screen. The variables firstNumber & secondNumber
C++ Program Three Dimensional 3D Array -
3D array contains three for loops. to initialize and "print three dimensional" array, you have to use three for loops. Third for loop forms 1D array, Second for loop forms 2D array and the
C Programming Codes Multiply to Matrix -
Program code to multiply two matrices, the number of columns of first matrix should be equal to number of rows to second matrix. This c program displays the error until the...
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
Find The Perfect Number In C++ language -
For example 6 is Perfect Number since divisor of 6 are 1, 2 and 3. Sum of its divisor is 1 + 2+ 3 =6 and 28 is also a 'Perfect Number' since 1+ 2 + 4 + 7 + 14= 28. Other 'Perfect Numbers': 496
Checks the Connectivity of Directed Graph -
Add Edge to connect "v" and "w". A recursive function to print BFS starting from s. Returns reverse ('or transpose') of this graph. Check if graph is connected. Print graph is connected.
C Program Arrange Numbers in Ascending -
C Program to Arrange numbers in Ascending order. Code 'prompts user' for the n numbers, once the user is done entering those numbers and this c program sorts and displays them in
C realloc() Allocates size bytes of Memory -
If ptr is null, realloc() allocates size bytes of memory and returns a pointer. If size is zero, the memory pointed to by ptr is freed. There is an error give message: Allocation Error...