You are on page 1of 1

Ex – 3 Programs Using Control Structures – 2

1. Write a program to find the factorial of a given number.


2. Write a program to print Fibonacci series.
3. Write a program to print prime numbers in the given range.(Use for loop)
4. Write a program to print Armstrong numbers in the given range.
5. Write a program to print Greatest common divisor for given two numbers.
6. Write a program to print the following pattern
@@@@@
@ @
@ @
@@@@@

VIVA: (25 Marks)


Let us C by Yashavant Kanetkar
Chapter 2: Decision Control Structures Ex H, I, J
Chapter 3: Loop Control Instructions, Ex [A], [C], [D]

You might also like