0% found this document useful (0 votes)
42 views

C-Program List For B-Section: Download The Original Attachment

The document lists 18 programming problems for students to solve related to recursion, matrices, sorting algorithms, series calculations, pattern printing, and finding maximum/minimum array elements. It includes problems involving factorials, leap years, matrix transpose, sphere area, comparing numbers, linear/binary search, bubble/selection sort, switch statements, averages, and recursive power functions.

Uploaded by

Raj Sharma
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
42 views

C-Program List For B-Section: Download The Original Attachment

The document lists 18 programming problems for students to solve related to recursion, matrices, sorting algorithms, series calculations, pattern printing, and finding maximum/minimum array elements. It includes problems involving factorials, leap years, matrix transpose, sphere area, comparing numbers, linear/binary search, bubble/selection sort, switch statements, averages, and recursive power functions.

Uploaded by

Raj Sharma
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 2

Download the original attachment

C-Program list for B-section 1. 2. 3. 4. 5. 6. 7. Program to find the factorial of a number using recursion. To find whether the given year is leap year or not . Program to find the transpose of a matrix. Program for the multiplication of two matrices. Write a program for finding the area of the sphere. Write a program to find out maximum of three numbers. Write a program to find absolute value of a given fraction number using function. 8. Write a program for the linear search. 9. Write a program for the binary search. 10.Write a program for the bubble sort. 11.Write a program for the selection sort. 12.Write a program to find factorial, prime number, even-odd number in a single program using switch-case. 13.Write a program to find average and percentage of three subjects of students using function. 14.Write a program to find summation of series:
a. x - x3/3! + x5/5! x7/7! +..upto nth term. b. 1 + x + x2 + x3 +..+ xn

15.Write a program to print following :

* EDCBA * * * DCBA ***** *** *A BA CBA

(a) (b)

16. Write a program to swap 2 no.s using function without using 3rd

variable. 17.Write a program which calculates x to power n using recursive function. 18.Write a program to find maximum and minimum element of an array.

You might also like