Looping Statements

C : Looping Statements Program List




Program [1]

Write a C Program to Calculate the Sum of Natural Numbers


View Solution


Program [2]

Write a C Program to Find Factorial of a Number


View Solution


Program [3]

Write a C Program to Generate Multiplication Table


View Solution


Program [4]

Write a C Program to Display Fibonacci Sequence

View Solution


Program [5]

Write a C Program to Find GCD of two Numbers


View Solution


Program [6]

Write a C Program to Find LCM of two Numbers


View Solution


Program [7]

Write a C Program to Display Characters from A to Z Using Loop


View Solution


Program [8]

Write a C Program to Count Number of Digits in an Integer


View Solution


Program [9]

Write a C Program to Reverse a Number


View Solution


Program [10]

Write a C Program to Calculate the Power of a Number


View Solution


Program [11]

Write a C Program to Check Whether a Number is Palindrome or Not


View Solution


Program [12]

Write a C Program to Check Whether a Number is Prime or Not


View Solution


Program [13]

Write a C Program to Display Prime Numbers Between Two Intervals


View Solution


Program [14]

Write a C Program to Check Armstrong Number


View Solution


Program [15]

Write a C Program to Display Armstrong Number Between Two Intervals


View Solution


Program [16]

Write a C Program to Display Factors of a Number


View Solution


Program [17]

Write a program in C to print the sum of negative numbers, sum of positive odd numbers and sum of positive even numbers from a list of numbers entered by the user. The list terminates when the user enters a Zero.


View Solution


Program [18]

Write program to generate multiplication table for first ‘n’ number, where ‘n’ is a user input.


View Solution


Program [19]

Write a ‘C’ program to computer the average of every third integer lying between 1 and 200?


View Solution


Program [20]

Write a program to check whether the given number is Perfect Number or not

Perfect Number :- Perfect number, a positive integer equal to the sum of its proper divisors. The smallest Perfect number is 6, which is the sum of 1, 2 and 3.

For Example:-

Input = 28

Output = 28 is the Perfect Number.

So as we can see that the divisor of 28 is 1, 2, 4, 7, 14, so the sum of all the divisors is 28 (1 + 2 + 4 + 7 + 14 = 28). Therefore, 28 is the Perfect number.


View Solution


CCC Online Test 2021 CCC Practice Test Hindi Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Naukari Notification Best Website and Software Company in Allahabad Website development Company in Allahabad