C Program

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

c program to find the first occurrence of a character in the given string

c program to find the first occurrence of a character in the given string In this program, we are going to discuss how to find the first occurrence of a character in the given string. For example- Input- So first step we are going to take input from the user suppose we enter a string

Print palindrome numbers in the given range in C

In this video, we are going to understand and implement a simple C program, in which, we are going to print all the palindrome numbers in the given range. In order to understand this program in a better way, one should be familiar with how can we find whether the number is palindrome or not.