0% found this document useful (0 votes)
4 views3 pages

C Lab Practical

Uploaded by

Yuvraj jha
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views3 pages

C Lab Practical

Uploaded by

Yuvraj jha
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

1. W.

A menu driven program to calculate sum; subtraction, multiplication,


and division

of numbers.

2. W.A.P to find whether the given number is even or odd.

3. W.A.P to calculate the area and perimeter of a circle using functions.

4. W.A.P to find the factorial of a number.

5. W.A.P to swap two variables without using third variable, using call by
value and call

by reference.

6. W.A.P to display the geometric series and find its sum.

7. W.A.P to print a Fibonacci series

8. W.A.P to find prime numbers in a given range.

9. W.A.P to find prime factors of a given number.

10. To convert decimal number to binary number.

11. W.A.P to reverse the digits and find its sum

12. W.A.P to convert an integer into a character array.

13. To print the pyramids

12

123

1234

14. To print the pyramids

01

101

0101

10101
15. To print the pyramids using asterisks (*).

***

*****

*******

*********

16. To print the pyramids

22

333

4444

17. To print the pyramids

121

12321

1234321

18. W.A.P to search a number using linear search

19. To sort n elements using selection sort.

20. W.A.P to find whether a substring exist in a given string.

21. W.A.P To check whether the given string is a Palindrome or not.

22. Program to process employee record using structures.

23. W.A.P to enter n elements in an array and find the sum of even and odd
numbers.

24. W.A.P to enter n characters in an array and count the no. of vowels in it.

25. W.A.P to enter n elements in an array and find the largest number in the
array.

26. W.A.P to enter n elements in an array and find the smallest number in the
array.

You might also like