C Examples

C Program to Read Two Integer and Find Which is Greater
In this article, we will learn how to find the large number between two numbers asked from the user. To write this program, we will need some basic concept of…
Read More » 
C Program to Check if Two Input Integers are Same or Not
In this article, we will learn how to determine/check if two input integers are the same or not using the C programming language. To write this program we will need…
Read More » 
C Program to Check if a Character is Vowel or Constant
In this article, we will learn How to determine or check if a character is vowel or constant or number or a special character using the C programming language. To…
Read More » 
C Program to Take Operator as Input and Perform Arithmetic
In this article, we will learn How to take operator as input and perform arithmetic operations on two asked numbers (Integer or float) from the users. To write this program,…
Read More » 
C program to find the area and perimeter of a circle
In this tutorial, we will learn, how to find the area and perimeter of a circle. We know the formulas for calculating the perimeter and area of a circle. For…
Read More » 
C Program to Read Integer from User and Print It
In this article, we will learn to write a very simple program in C that will ask for an integer number from the user’s console. After hitting enter, The number…
Read More » 
C Program to Calculate the Percentiles
In this article, we will learn how to calculate the percentiles and implement it into C programming. Percentile is a mathematical study in statistics. It indicates the average value for…
Read More » 
C Program to Calculate the Deciles
In this article, we will learn how to calculate the deciles and implement it into C programming. Decile is a mathematical study in statistics. Where it indicates the measure of…
Read More » 
C Program to Calculate the Quartiles
In this article, we will learn how to calculate the quartiles and implement it into C programming. Finding quartiles is a statistical study, where quartiles indicate the measures of central…
Read More » 
C Program to Read String and Print It
In this tutorial, we will learn how to read string from the user and displaying in the console using C Program. So let’s write a C program to Read String…
Read More » 
C Program to Find Largest Number Among Three Numbers
In this tutorial, we will learn How to find largest number among the three numbers. This problem consists of, when the program is run, it will ask three spaceseparated numbers…
Read More » 
C program to find the area and perimeter of a rectangle
In high school mathematics, the most common formulas of a rectangle are perimeter, area, diagonal, etc. In this tutorial, we will learn how to implement those formulae in the C…
Read More » 
C program to print name, birthday and city
In this tutorial, we will learn how to format and display personal information inside the console using C programming. To solve this problem we will use the printf function to…
Read More » 
C Program to Sum Two Given Numbers
In this article, we will learn how to sum two given numbers (integer & floating points) using C programs. In the first program, we will define fixed numbers in the…
Read More » 
C program to check the total number of uppercase letters
C has a standard library or header file called ctype.h that contains library functions like isupper(), islower(), etc for checking the case of letters of a given string or character.…
Read More »