Program List - Loops
- Natural numbers from 1 to N
- Odd numbers from 1 to N
- Print Odd numbers between an interval
- Even numbers from 1 to N
- Print even numbers between interval
- Sum of first N natural numbers
- Sum of odd numbers in given range
- Sum of even numbers in given range
- Product of odd integers in given range
- Product of even integers in given range
- Print square, cube and square root of numbers from 1 to N
- Sum and average of 10 numbers
- Print uppercase alphabets using while loop
- Print uppercase letters using for loop
- Print lowercase alphabets using while loop
- Print lowercase alphabets using for loop
- Print reverse counting between an interval
- Table of a number
- Print table of tables between interval
- Calculate factorial of a number
- Calculate the sum of following series
- Calculate x raised to the power of y
- Find range of set of numbers
- Print A.P. Series
- Calculate the sum of A.P. Series
- print G.P. series
- Calculate the sum of G.P. series
- Count number of digits in integer
- Calculate the sum of digits of the number
- Count frequency of digits in an integer
- Reverse of an integer
- Number is palindrome or not
- Swap first and last digit of a number
- Entered number is zero, positive or negative
- Print all leap years from 1 to N
- Number is prime or not
- Print all prime numbers from 1 to 300
- Print all prime numbers from 1 to N
- Print all prime numbers between an interval
- Check whether a number can be expressed as a sum of two prime numbers or not
- Integers between two floating point numbers
- Fibonacci series
- Display factors of a number
- GCD or HCF of two numbers
- LCM of two numbers
- Generate all combinations of 1, 2 and 3
- Matchstick Game
- Find all numbers between 100 and 200, divisible by 9
- Find all numbers between an interval, divisible by a specific number
- Number is a perfect number or not
- Find perfect numbers between an interval
- Number is a strong number or not
- Find strong numbers between an interval
- Number and asterisks
- Generate Pythagorean triplets
- Count the number of ways to divide a number in 4 parts