C Programming Code Examples C > For Loops and While Loops Code Examples a while loop nested in for loop For Loop Statement in C programming language C program to check whether a number is armstrong number or not Write a C program to input number from user and check number is palindrome or not using loop. program to check whether a number is perfect number or not C program to check whether a number is prime number or not check whether a number is Strong number or not C program to input binary number from user and convert binary number to decimal number system. C program to convert Binary to Hexadecimal number system program to convert Binary to Octal number system C program to convert Decimal to Binary number system convert Decimal to Hexadecimal number system C program to convert Decimal to Octal number system program to convert Hexadecimal to Binary number system C program to convert Hexadecimal to Decimal number system program to convert Hexadecimal to Octal number system C program to convert Octal to Binary number system convert Octal to Decimal number system C program to convert Octal to Hexadecimal number system program to count frequency of digits in an integer C program to count number of digits in an integer C program to count total number of notes in given amount program to find all factors of a number C program to find Armstrong numbers between 1 to n program to find factorial of a number C program to find first and last digit of any number program to find HCF (GCD) of two numbers C program to find LCM of two numbers C program to find ones complement of a binary number program to find perfect numbers between 1 to n C program to find power of a number using for loop program to find prime factors of a number C program to find product of digits of a number C program to find reverse of any number program to find sum of digits of a number C program to find sum of even numbers between 1 to n find sum of first and last digit of any number find sum of natural numbers from 1 to n program to find sum of odd numbers from 1 to n C program to find sum of prime numbers between 1 to n Program to Find the Number of Integers Divisible by 5 C program to find twos complement of a binary number Page 1 Page 2 Page 3