Beruflich Dokumente
Kultur Dokumente
LAB ASSIGNMENT
WAP C Program to Check if a given Integer is Odd or Even
WAP C Program to Find the Biggest of 3 Numbers
WAP C Program to Calculate the Sum of Odd & Even Numbers
WAP C Program to Find the Number of Integers Divisible by 5
WAP C Program to Reverse any Given Number
WAP C Program to find the factorial of a number (write recursive function)
WAP C Program to Find if a given Year is a Leap Year
WAP C Program to determine and print the sum of the following harmonic
series for given value of n1+1/2+ 1/31/n
9. WAP C Program to Accept two Integers and Check if they are Equal
10. WAP C Program to Compute First N Fibonacci Numbers using Command
Line Arguments
11. WAP C Program to Find whether a Number is Prime or Not using Recursion
12. WAP C Program to produce a triangle using * symbol(right triangle and
centered triangle)
13. WAP C Program to swap the values of two numbers. Do this using call by
reference and call by value functions
14. WAP C Program to accept any string from user. Convert case of the string
to lower/ upper case.
15. WAP C Program to Calculate Average Using Arrays
16. WAP C Program to reverse an array.
17. WAP C Program to Display Largest Element of an array
18. WAP C Program to Add Two Matrix in C programming
19. WAP C Program to multiply to matrix in C programming
20. WAP to implement single linked list using array with the basic operations
as Insert(), delete(), InsertatFirst(), InsertatLast (),InsertatMiddle(),
Traversal() with appropriate prototype to a functions.
21. WAP to implement Doubly linked list using array with the basic operations
as Insert(), delete(), InsertatFirst(), InsertatLast (),InsertatMiddle(),
Traversal() with appropriate prototype to a functions
22. WAP to implement Queue ADT using array with the basic functions of
Create(), IsEmpty(), Insert(), Delete() and IsFull() with suitable prototype
to a functions
23. WAP to implement Stack ADT using array with the basic operations as
Create(), Is Empty(), Push(), Pop(), IsFull() with appropriate prototype to a
functions.
24. WAP to implement Queue ADT using array with the basic functions of
Create(), IsEmpty(), Insert(), Delete() and IsFull() with suitable prototype
to a functions
25. WAP to implement Stack ADT using Linked list with the basic operations
as Create(), Is Empty(), Push(), Pop(), IsFull() with appropriate prototype to
a functions.
1.
2.
3.
4.
5.
6.
7.
8.
26. WAP to implement Queue ADT using Linked list with the basic functions of