Here is the C Program for Bouncing ball animation in computer Graphics. Download the source code given here for the bouncing ball problem. The colored bouncing ball moves along x and y axis using a loop and decreasing and increasing the value of x and y in order to move the ball.

Read More »## Ugly Numbers Algorithm – C and Java Program

C Program / Algorithm for Ugly Numbers: What is an Ugly Number Series? Ugly Numbers are the ones whose prime factors are 2,3 or 5 Only. We have also given a Java Source code in Method #4 So Ugly Number Series is 1, 2, 3, 4, 5, 6, 8, 9, 10, 12, 15, and so on… The reason why 1 is added is because ...

Read More »## C Program to make a Calculator – Source Code

C Calculator Program Source Code : C program with full illustration in comments is given here for making a Calculator in C. You can make this Calculator program to perform any operations you want but we have made this only for following operations: Addition (a+b) Subtraction (a-b) Multiplication (a*b) Division (a/b) Modulus (a%b) Factorial (a!) Power (a^b) Remember you can add ...

Read More »## C program for adding two numbers without using Arithmetic Operator

C program to add two numbers without using Arithmetic Operator: There are many ways to add two numbers or sum up two numbers without using a arithmetic Operator. The methods are listed below:

Read More »## C program to add two numbers using recursion method

C program to add two numbers using recursion method | Without using Arithmetic operator : This is a C program using recursion method for adding two numbers. Recursion method has always been difficult for many. So you can get the code here and understand on our own. Also Read: Swap two numbers without using third variable [crayon-58ae0a0fe7741216392337/] Incoming search terms ...

Read More »## C program for Sum of two number using While LOOP

C program for Sum of two number using While LOOP | Add two numbers using while loop : The two numbers can be added using a while loop also. If you want to know more about the conditional control statement and looping then you should start experimenting rather doing straight things. Two numbers can be added using arithmetic numbers but ...

Read More »## C program to add two numbers using for loop

C program to add two numbers using for loop | Sum of two numbers using for loop : This is a c program to add two numbers using for loop to know more concept about the looping and conditional control statements. Also Read : C program for sum of two numbers using while loop #CODE for Sum of two numbers ...

Read More »## C program to add two number | Sum of two numbers

C program to add two number | Sum of two numbers This is a small program in C to add two number using arithmetic operators. Also Read : C program to add two numbers without using arithmetic operators Code for sum of two numbers [crayon-58ae0a0fe8c12758988778/] OUTPUT for C program to add two number [crayon-58ae0a0fe8c1c672358760/] As the program seen it is ...

Read More »## c program to swap two numbers without using a third variable

Swap two numbers without using a third variable | Swap Two numbers without using a temporary variable: There are 4 tricks to swap two numbers without using a third variable. You can use of them for your program. However the trick #4 is the smartest, fastest & easiest of all. The trick used is nothing but basic mathematics fundamentals like: multiplication, ...

Read More »## C program for dfs – Depth First Search

This is a c program for DFS – depth first search In which the the searching goes on to all the siblings first rather than the nodes i.e the first item searched is the leftmost leaf node. Moreover you have to enter the number of nodes in the graph and the adjacency matrix. Though leftmost node is searched still extra ...

Read More »