C Program to convert Fahrenheit to Celsius

C Program To Convert Fahrenheit To Celsius

In this tutorial, we will learn the writing program in c to convert a given temperature from Fahrenheit to celsius. This program will be simple because we have a mathematical conversion formula to convert Fahrenheit to Celsius. We will use this conversion formula in the programming logic. How our Fahrenheit to Celsius conversion program will … Read more

C Program to convert Celsius to Fahrenheit

C Program To Convert Celsius To Fahrenheit

In this tutorial, we will learn the writing program in c to convert a given temperature from celsius to Fahrenheit. This program will be simple because we have a mathematical formula for this conversion. Only we have to apply these conversion formula in the programming logic. How our Celsius to Fahrenheit conversion program will behave? … Read more

C Program to check the given year is a leap year or not

C Program To Check The Given Year Is A Leap Year Or Not

In this tutorial, we will learn to write the program in C to check whether a given year is a leap year or not? This program required some knowledge of leap year to build the logic. So let’s know first about the leap year. What is Leap year? A Leap year is a calendar year … Read more

C Program to convert Decimal number to Octal number

C Program To Convert Decimal Number To Octal Number

In this tutorial, we will learn to write a program in c to convert a decimal number into an octal number. Here we will use the division by 8 concepts to convert it into an octal number. Before moving towards the writing program let’s know about the Octal numbers. What is an Octal Number? An octal … Read more

C Program to Convert Decimal Number into Binary

C Program To Convert Decimal Number Into Binary

In this tutorial, we will learn to write a program in c to convert a decimal number into a binary number. Here we will use the division concept to convert it into a binary number. Before moving towards the writing program let’s know about the binary numbers. What is the Binary Number? A binary number is a number that … Read more

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 LCM of given two numbers

C Program To Calculate LCM Of Given Two Numbers

In this tutorial, We are going to learn a writing program to calculate the LCM of two numbers. Before writing a program let’s understand What is LCM? How to calculate LCM? LCM stands for Least Common Divisor, which is a value of two numbers that are evenly divisible by the two given numbers. For example: … 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