C program to remove the vowels from a string

In this example, we will learn how to remove all the vowels from a string using 'c' program. Let's take a look into the program first :.

Read

C program to separate even and odd numbers from an array in 3 ways

3 different ways to separate the even and odd numbers from an Array in C. We will learn how to use a for loop, how to take the numbers as inputs from the user and how to use a while loop to separate the numbers.

Read

C program to find the third angle of a triangle if other two are given

In this tutorial, we will learn how to find the third angle of a triangle if the first and second angle is given.We know that the sum of all three angles of a triangle is 180 degree. So, to find the third angle, we will subtract the sum of two angles from 180. Let's take a look at the program

Read

C program to print fibonacci series using recursion

Fibonacii series is a series of numbers, where each number is equal to the sum of the previous two numbers in the series. For example , it looks like 0 1 1 2 3 5 8 13.....In this example, we will learn how to print the Fibonacci series using recursion in C programming language . We will print the series till N terms . The value of N will be entered by the user and we will print the series. Let's take a look into the C program :.

Read

C program to check if two strings are equal or not

In this tutorial, we will learn how to check if two strings are equal or not. We will ask the user to input both strings and then we will compare word by word . We will use one loop to iterate through the characters. You can use for loop to iterate, but in this example we will use while loop. Let's take a look into the program :.

Read

C program to find the maximum and minimum number in an array

In this c programming tutorial, we will learn how to find the maximum and minimum number in an array using 'c'. All the elements for the array, we will take as input from the user. Then, we will find out maximum and minimum number in the array using two different functions. I will explain in step by step but first take a look into the program :.

Read

C program to find the factorial of a number using recursion

In this tutorial, we will learn how to find the factorial of a number in c programming language using recursion. Recursion means the function will call itself. For example, the factorial of 5 is 5 * 4 * 3 * 2 * 1. We will call send this number to a function. It will call itself with 5 - 1 =4 and multiply it with 5. The inner function again call itself etc. It will be more meaningful if I will explain you with an example. Let's take a look into the program first :.

Read

C program to check if a number is magic number or not

This tutorial is to check if a number is magic number or not in c programming language. A magic number is a number which is equal to the product of sum of all digits of a number and reverse of this sum. For example, 1729 is a magic number. The sum of all digits of the number is 19. Reverse of this number 91. Product of these values is 19 * 91 = 1729. So, this is a magic number. Let's take a look into the program first :.

Read

C program to find the surface area of a cube

In this example, we will learn how to find the surface area of a cube. A cube has 6 surfaces and the length of its edges are equal length. So, the total surface area is 6 * Surface area of one surface. Surface area of one surface is edge * edge. So, the complete surface area of the cube is (6 * edge * edge). Using C program, we can write it as below :.

Read

C program to check if a string is palindrome or not

In this tutorial, we will learn how to check if a string is palindrome or not using 'c programming language'. A palindrome string is a string that is same if we reverse it. For example string abccba is palindrome. Because if we reverse it, it will be same. Let's take a look into the program first :.

Read