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


JavaScript Programming

JavaScript > Code Examples

Add button a window





C Code Convert Days to Years Weeks Days - C program to input number of days from user and convert it to years, weeks and days. How to convert days to years, weeks in C. Input days from user. Store it in some variable say...

Structure is A Compound Data Type that - To store Student details like student 'name', student 'roll num', 'student age'. You have 2 ways to do it, one way is to create different variables for each data, but the downfall of

Program Convert Decimal to Hexadecimal - In C++ programming, you have to ask to the user to enter the desired decimal number to convert it into hexadecimal number to print the equivalent value in hexadecimal format

C Print Elements of Array using Recursion - Define our Recursive Function to print array elements & say printArray(int arr[], int start, int len). The function takes three parameters where first is array to print, second is starting

Fibonacci Series in C Language using Loop - C Program for Loop to display the Fibonacci series. Program prompts user for the number of terms and displays the series having the same number of terms. Program ask user to

If Else If Statement & Multiple Conditions - In this control structure we have only one 'if' and one 'else', however we can have multiple 'else if' blocks. This is how it looks: If none of the 'condition is true' then these statements

C++ Language Codes Print Pascal Triangle - To print "Pascal Triangle" in C++, you have to enter the Number of Line. So to Print "Pascal Triangle", you have to use three For Loops as shown here in the C++ Programming samples

Bricks Game program coding example in C - Create opening screen and accept the level of the player's. Assign the speed to ball as per the level chosen. Draw four layer of bricks, the paddle and the ball. Memory allocation