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

Assignment

The document contains 20 programming problems involving basic data structures and algorithms concepts in C language. The problems include writing programs to perform basic mathematical operations, array manipulation, matrix operations, number checking, series generation and searching/finding maximums and minimums.

Uploaded by

Monty Sodhi
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
36 views

Assignment

The document contains 20 programming problems involving basic data structures and algorithms concepts in C language. The problems include writing programs to perform basic mathematical operations, array manipulation, matrix operations, number checking, series generation and searching/finding maximums and minimums.

Uploaded by

Monty Sodhi
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 2

sSanghvi Institute of Management and Science Department of Information Technology Assignment DATA STRUCTURE

Write all the programs in C Language 1.


2. 3.

WAP to add, subtract, multiply, and divide two number. WAP to interchange two no. using 3rd variable. WAP to interchange two no. without using 3rd variable. WAP to find greatest from three nos. WAP to print all the no multiplied by 3. WAP to store 10 no. in single variable using array and print them. Write a program to add two 2-D matrix. WAP to find sum of the digit 1234. WAP to find the no. of digits contained in 12345. WAP to find greatest no in an array. WAP to reverse the digit 1234. WAP to print the following output. @ @ @ @ @ @ @ @ @ @ @ @ @ @ @

4. 5. 6. 7. 8. 9.
10.

11. 12.

13 14 15 16 17 18 19 20

WAP to find whether the no. is prime or not. WAP to find whether the given year is leap year or not. WAP to find the sum of maximum no and minimum no. in an array of 10 elements. WAP to multiply all the no. in array of 10 elements. WAP to generate Fibonacci series. WAP to find factorial of given no. WAP to find minimum no. in 2-d matrix. WAP to find all the no. between 1 to 100 which is not divisible by 2 and 3.

==============

You might also like