Important Questiont
Loops
Theory
1. What are the different
looping constructs in C? Discuss
2. Differentiate between
while and do-while loops.
3. Differentiate between
break and continue
Programs
1. W.A.P to find sum of
digits of a number
2. W.A.P to find reverse of a
number and check if it’s a palindrome or not
3. W.A.P to find if a 3
-digit number is a palindrome or not
4. W.A.P to convert binary
number to decimal number
5. W.A.P to convert decimal
number to binary number
6. W.A.P to find factorial of
a number
7. W.A.P to print fibonacci
series
8. W.A.P to find if a number
is prime or not
9. W.A.P. to find sum of the
series 1+2! +3! +4! +……
10.W.A.P. to find sum of the
series 1- 2 +3 -4 +5 -…….
All series questions
Nested loops
1. W.A.P to print prime
numbers from 1 to 500
2. W.A.P to print Armstrong
numbers from 1 to 500
All pattern questions
Comments
Post a Comment