C Programming Logo
C++
Python
R Tutorial
Java
Kotlin
MENU
home
Tutorial
Examples
Library Functions
search
close
Simplest programming tutorials for beginners
What do you want to learn today?
C Programming Decision Making and Loops Examples
You will find necessary examples to create programs containing loops and decision making statements in this article.
To understand examples on this page, you should have the knowledge of following topics:
if...else Statement
for Loop
while Loop
break and Continue Statement
switch...case
C Control Flow Examples
Check Whether a Number is Even or Odd
Check Whether a Character is Vowel or consonant
Find the Largest Number Among Three Numbers Entered by User
Find all Roots of a Quadratic equation
Check Whether the Entered Year is Leap Year or not
Check Whether a Number is Positive or Negative or Zero.
Checker Whether a Character is an Alphabet or not
Find Sum of Natural Numbers
Find Factorial of a Number
Generate Multiplication Table
Display Fibonacci Series
Find HCF of two Numbers
Find LCM of two numbers entered by user
Count Number of Digits of an Integer
Reverse a Number
Calculate the Power of a Number
Check Whether a Number is Palindrome or Not
Check Whether an Integer is Prime or Not
Display Prime Numbers Between Two Intervals
Check Armstrong Number
Display Armstrong Number Between Two Intervals
Display Factors of a Number
Print Pyramids and Triangles in C programming using Loops
Make a Simple Calculator to Add, Subtract, Multiply or Divide Using switch...case
❮ Previous
Next Page ❯