# C Program ## Operators in C

In this tutorial, we are going to learn about different types of operators in C language. We can use these different operators for doing different kinds of operations, like arithmetic operations, comparison operations, logical operations, etc. Having the knowledge of these different operators in C language is essential, since with them, we can do many …

## C program to find the area of a triangle

C program to find the area of a triangle In this article, we are going to discuss how to find the area of a triangle. So let’s start! Input: Here, we are taking user input for the base of a triangle, For example, here we are taking 5. we are taking user input for the …

## C program to reverse an array

C program to reverse an array In this article we are going to discuss how to reverse an array, so to reverse an array we have to understand the concept first, so we are going to discuss the concept of the array and then we are going to see how we can apply this concept …

## convert Fahrenheit to celsius in C program

convert Fahrenheit to celsius in C program In this program, we are going to discuss how to convert temperature from Fahrenheit to Celcius. So let’s start! For Example – Input: For example, we are taking the user input in form of temperature so, Enter the temperature : so we are taking the temperature as 100. …

## C Program to Find Greatest of Four Numbers

In this program, we are going to discuss how to find the greatest number from the four numbers. So let’s start! C Program to Find Greatest of Four Numbers Basically, there are two ways to find the maximum number we see one by one. In the first example, we use user define function so let’s …

## C Program to Find Area of Equilateral Triangle

In this article, we are going to discuss how to calculate the area of an equilateral triangle. So let’s start! C Program to Find Area of Equilateral Triangle For example – Input : So first to calculate the area of the equilateral triangle we are taking user input so for that we simply Enter the …

## c program for Average of n numbers

In this article, we are going to discuss how to calculate the average of n numbers. So let’s start! C program to find Average of n numbers For example – Input : So to calculate the average of n numbers we are going to take user input so we take a number from the user. …

## C program to swap two numbers

In this article, we are going to discuss how to swap two numbers by using the function or without a function. So let’s start! There are two ways to swap the number one is by using a third variable and another by adding or subtracting the values in it. So we going to discuss them …

## C program to calculate simple interest

In this article, we are going to discuss how to calculate simple interest. So let’s start! C program to calculate simple interest For example – Input : So we are going to take user input first so first, we take all the user input such as the value of principal simple interest and time so …

## C program to find nth fibonacci number

C program to find nth fibonacci number In this program, we are going to find out the nth Fibonacci number. So let’s start! For example- Input– First, we take input from the user to suppose we take 12 Logic- |Basically to find out the Fibonacci number, there is one formula to calculate these and the …