Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 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