You are on page 1of 1

Sheet

LOOP 3:
1- Write a program to sum the series
0,1,1,2,3,5,8,13,…,N
2- Write a program to print the multiplication table from 1 to 12 in 12 rows.
3- Write a program that prints the following pattern
*
**
***
****
*****
4- Write a program that prints the following pattern
1
21
321
4321
54321

5- Write a program to print the prime numbers from 1 to 100

You might also like