b.tech-cse internal lab
b.tech-cse internal lab
---------------------------------------------------------------------------------------------------------------
I B.Tech I Semester Regular Internal Lab Examination, December-2024
Lab Code:R231106L COMPUTER PROGRAMMING LAB Regulation: R23
Example series - 1 + 2 + 3 + 4 + .. N
PAGE \* MERGEFORMAT 2
17. Write a C program to find the factorial of given number using any loops.
18. Write a C program to find the given number is a prime or not.
19. Write a C program to compute sine series.
20. Write a C program to compute cos i.e. cosine series.
21. Write a C program to check a number is palindrome or not.
22. Write a C program to construct the following pyramids of numbers.
1 1 1
22 12 2 2
333 123 333
4444 1234 4444
5555 12345 55555
23. Write a C program to find the min and max of a 1-D integer array.
24. Write a C program to perform linear search on 1D array.
25. Write a C program to display the reverse of a 1D integer array.
26. Write a C program to find the addition of two matrices.
27. Write a C program to find the multiplication two matrices.
28. Write a C program to sort array elements using bubble sort.
29. Write a C program to concatenate two strings without built-in functions.
30. Write a C program to find the sum of a 1D array using malloc().
PAGE \* MERGEFORMAT 2