C Program to find GCD of two numbers using recursion

C Program To Find GCD Of Two Numbers Using Recursion

In this tutorial, we will learn the writing program in C to find the GCD of two numbers using recursion. In the previous tutorial, we have learnt to write the c program to calculate GCD without recursion. Program in C to find GCD using recursion Output 1 Output 2

C Program to find GCD or HCF of two numbers

C Program To Find GCD Of Two Numbers Using Recursion

In this tutorial, we are going to learn a writing program in C to calculate GCD or HCF. Basically, Both GCD and HCF are the same. GCD full form is Greatest common divisor and HCF means Highest Common Divisor. Before starting the writing a program in C for HCF or GCD let’s understand HCF/GCD first. … Read more

C Program to calculate the square root of a given number

C Program To Calculate The Square Root Of A Given Number

In this tutorial, we will learn a writing program in C to calculate the square root of a given number. There is a predefined function sqrt() in C which we will use to find the square root of any number. This program is going to be very easy like the square program in c and … Read more

C Program to calculate the cube of a given number

C Program To Calculate The Cube Of A Given Number

In this tutorial, we are going to learn to write a C program to calculate the cube of a given number. This program will be going to simply like a square program in c. So before moving the writing program of the cube, let’s know about the cube. What is the Cube of a number? … Read more

C Program to calculate the square of a given number

C Program To Calculate The Square Of A Given Number

In this tutorial we are going to learn writing C Program to calculate the square of given number. This program is going to be very simple because we just have to calculate square of number. Before moving towards writing program let’s know about square. What is square of number? When number is multiplied to itself, … Read more

C Program to calculate the power without using POW function

C Program To Calculate The Power Without Using Pow Function

In this tutorial, we are going to learn a writing program in C to calculate the power of a given number without using the POW method. Here we will write our own logic to calculate the power of a given number. To calculate the power we need two numbers. One is the base number and … Read more

Prime Number program in java

Prime Number Program in java

In this tutorial we are going to learn how to write a program to check whether a given integer number is prime number or not in Java programming language. What is Prime Number? A prime number is a natural number that is greater than 1. It cannot be formed by multiplying two smaller natural numbers. … Read more

Armstrong Number Program in Java

Armstrong Number Program in Java

In this tutorial we will learn writing Armstrong number program in Java to check a given input number is Armstrong or not? So before moving directly on the writing program Lets know about Armstrong number: Click Here:  What is Armstrong Number? Armstrong program in C. Program 1: Armstrong Program in Java This is a traditional … Read more

Program to reverse a number in java with explanation

Program To Reverse A Number in java

In this tutorial we are going to learn how to write a program to reverse the digits of a given number in Java programming language. So Lets  know what we are going to achieve in this program before moving on writing program. Suppose if someone given input to the program like 456789. After performing reverse … Read more