INDEX
S.NO PROGRAM DATE SINGNATURE/
REMARK
1. Write a program to print hello world.
2. Write a program to print the sum and
subtraction and multiplication and
division of two number.
3. Write a program to print the last digit of
the number
4. Write a program to print the natural
number.
5. Write a program to print the natural
number in reverse.
6. Write a program to print the even and
odd number.
7. Write a program to print the even and
odd number without using the % symbol.
8. Write a program to print the greater of
three number.
9. Write a program to print the ASCII value
of the character.
10. Write a program to check whether the
year is leap or not.
11. Write a program to count the digit of the
number.
12. Write a program to sum the digit of the
number.
13. Write a program to print the sum of the
natural number.
14. Write a program to print the reverse of
the number.
15. Write a program to print table of the
given number.
16. Write a program to print the prime factor
of the given number.
17. Write a program to convert the decimal
number into its equivalent binary
number.
18. Write a program to print star (*) in the
given pattern
*
**
***
20. Write a program to print the Fibonacci
sequence of the number.
21. Write a program to check whether the
number is Armstrong or not.
22. Write a program to find the square of the
number using function.
23. Write a program to swap two number
using function.
24. Write a program to swap two number
without any third variable using function.
25. Write a program to print Fibonacci
sequence using recursion.
26. Write a program to print the factorial of
the number using recursion.
27. Write a program to sort an array in
ascending or descending order.
28. Write a program to perform the addition
between two matrices.
29. Write a program to perform the
multiplication between two matrices.
30. Write a program to transpose the matrix.
31. Write a program to print the minimum
value of the array using function.
32. Write a program to sort the array with
help of bubble sort
33. Write a program to sort array and return
from function.
34. Write a program to swap the two
number using call by reference.
35. Write a program to swap two number
without using third variable with pointer.