Home Basic Loop Array string Function Pointer Contact STUDY

AHF    C    PROGRAM    SOLVING

In C programming loop is very essential statement. Without knowing the use of loop you can’t learn C program properly. Knowing use of loop you will get interest of C programming.


For Loop Programming problem

  1. Find the root of a square equation using Newton Raphson method
  2. Find the root of a square equation using Bisection method
  3. Find the root of a square equation using False Position method
  4. Print first N natural number
  5. Print N natural number in a given range ( ascending way )
  6. Summation of first N natural number
  7. Calculate sum and average of first N natural number
  8. Print natural number in a given range ( decending way )
  9. Factorial of an integer number
  10. Average of given input
  11. Print whether given number is prime or composite
  12. Prime number in a range
  13. Leap year in a range
  14. Print a multiplication table of Nth number
  15. Print even and odd number in a range
  16. Calculate power i.e., calculate xn
  17. Calculate Summation of this series 1 + 1/2 + 1/3 + ...... + 1/x
  18. Calculate Summation of this series 1 + 1/5 + 1/9 + 1/13 + ...... + 1/x
  19. Calculate Summation of this series 1 + 22 + 33 + ...... + xx
  20. Calculate Summation of this series 1 + 22 + 32 + ...... + x2
  21. Calculate Summation of this series 1/2 + 2/3 + ...... + x/(x+1)
  22. Calculate Summation of this series 1 + 1/22 + 1/32 + ...... + 1/x2
  23. Calculate Summation of this series 1/22 + 1/33 + ...... + 1/(x+1)(x+1)
  24. Calculate Summation of this series 1 + 22/2 + 32/3 + ...... + x2/x
  25. Print 1 3 6 10 15 21 ........ this series

While Loop Programming Problem

  1. Print wheather The given number is armstrong or not
  2. Print first N natural number
  3. Revers of a given number
  4. Enter a number and print summation each digits
  5. Enter a number and Print each digits as even or odd number
  6. Print all natural number from a range
  7. Print 20 horizontal symbol like ($)
  8. Print largest number among 10 numbers
  9. Count positive, negative and zero untill (-1) is encountered
  10. Print largest and smallest number untill (-1) is encountered
  11. Calculate sum and average untill ( 00 ) is encountered
  12. Print even and odd number untill ( 00 ) is encountered

© 2018 - All rights reserved