Programs
Programs
UNIT: 2
1. Print first 10 natural numbers using while loop
2. Print Fibonacci Series using do-while loop
3. Factorial of a number using for loop
4. Print table of a number entered by user
5. Check Armstrong Number
6. Check number is Prime or not
7. Calculate number of digits
8. Sum of numbers entered by user and stop when entered zero
9. Check number is Odd or Even using goto
10. Addi on of All Elements of an array
11. Program to insert an element in an array
12. Find Smallest element in array
13. Reverse the array
14. Determinant of 3x3 Matrix
15. Transpose of two matrices
16. Program to Mul ply two matrices
17. Concatenate Two Strings
18. Count no of lines, words and characters in a given text
19. Print Vowels and Constants Characters separately
20. Count Upper Case, Lower Case and Special Character in a string
21. Swapping two numbers using Call by Value and Call by Reference
22. Calculate sum of numbers from 1 to n using recursion
23. Fibonacci series using recursion
24. Length of String using Recursion
25. Sum and average of odd integers between 1 to 300 divisible by 7
26. Print Characters against ASCII numbers from 32 to 126
27. Delete an element from an array
UNIT: 3