• Articles

Program to Swap Two Numbers in C

2 years ago

The program swaps two numbers. The functionality can be achieved in both ways by using or without using a temporary variable. The first approach uses… Read More

  • Articles

C Program to Find the Greatest of Three Numbers

2 years ago

The program determines greatest among three numbers based on the conditional statements. It simply uses greater than (>) and smaller than (<)  comparison operators to… Read More

  • Articles

Difference between For and For-each Loop in Java

2 years ago

A loop is a control statement which executes a particular block of code repeatedly until a given condition becomes false. There are various types of… Read More

  • Articles

Program to Find Diameter, Circumference and Area of Circle in C

2 years ago

The program calculates diameter, circumference, and area of a circle by simply using formula. The explanation is given below. A circle can be defined as… Read More

  • Articles

C Program to Calculate Distance Between Two Points

2 years ago

The program uses the distance formula to calculate the distance between two points in C. To find the distance between two coordinates, we have a… Read More

C Program to Show a Kite is Flying

2 years ago

The program uses translation transformation to implement flying kite in C. In computer graphics, translation allows reposition of an object. We can create an illusion… Read More

  • Articles

C Program to Move a Car

2 years ago

In this article, we'll be implementing moving car program in computer graphics. Using translation transformation, we can draw and move an object to another coordinate. The… Read More

  • Articles

Palindrome Program in Java

2 years ago

In this article, we’ll be implementing palindrome Java programs for both strings and numbers. It is the most commonly asked question in the technical round… Read More

C Program to Perform Shearing on Triangle

2 years ago

In this article, we'll be implementing shearing transformation program with output. In Transformation, shearing is the process of slanting the shape of an object. C… Read More

  • Articles

C Program to Perform Shearing on a Rectangle

2 years ago

In this article, we'll be implementing a program for shearing transformation on a rectangle with output. In in computer graphics, shearing can be defined as… Read More