1. Write a program to sum two numbers.
2. Write a program to check if a number is odd or even.
3. Write a program to calculate the factorial of a given number.
4. Write a program to generate the Fibonacci series up to n terms.
5. Write a program to check if a number is prime.
6. Write a program to swap two numbers without using a third variable.
7. Write a program to reverse the digits of a given number.
8. Write a program to check if a string is a palindrome.
9. Write a program to calculate the area of a circle.
10. Write a program to find the maximum of three numbers.
11. Write a program to calculate simple interest.
12. Write a program to count the number of digits in an integer.
13. Write a program to calculate the sum of the digits of a given number.
14. Write a program to print the multiplication table of a number.
15. Write a program to calculate the power of a number.
16. Write a program to check if a number is a perfect square.
17. Write a program to find the GCD of two numbers.
18. Write a program to find the LCM of two numbers.
19. Write a program to calculate the area of a rectangle.
20. Write a program to check if a year is a leap year.
21. Write a program to check if a number is Armstrong.
22. Write a program to display all prime numbers up to n.
23. Write a program to find the second largest number in an array.
24. Write a program to print the reverse of an array.
25. Write a program to check if two strings are anagrams.
26. Write a program to find the smallest element in an array.
27. Write a program to merge two sorted arrays.
28. Write a program to rotate an array.
29. Write a program to find the frequency of each element in an array.
30. Write a program to remove duplicates from an array.
31. Write a program to find the intersection of two arrays.
32. Write a program to implement a linear search.
33. Write a program to implement a binary search.
34. Write a program to find the sum of the first n natural numbers.
35. Write a program to find the average of n numbers.
36. Write a program to find the sum of the first n even numbers.
37. Write a program to find the sum of the first n odd numbers.
38. Write a program to generate random numbers.
39. Write a program to convert Celsius to Fahrenheit.
40. Write a program to convert Fahrenheit to Celsius.