Академический Документы
Профессиональный Документы
Культура Документы
Lab 3 1. Write a C program to swap two numbers using and without using 3rd
variable.
2. Write a C program to Check Whether a Character is Vowel or
Consonant
3. Write a C program to check whether a person is eligible for voting or
not?
4. Write a C Program to check whether number is EVEN or ODD.
5. Write a C program to Find the Largest Number among Three Numbers
using nested if-else.
6. Write a C program to Check Whether a Number is Positive or Negative
Lab 4 1. Design and develop a Write a C program to read a year as an input and
find whether it is leap year or not. Also consider end of the centuries
2. Write a C program to find HCF and LCM of two numbers.
3. Write a C program to find sum of first N natural number, N must be
taken by the user.
4. Write a C program to Find Factorial of a Number
5. Write a C program to print occurrence of a particular digit in a number.
6. Write a C program to read an integer and print its multiplication table.
Lab 6 1. Write a C program to generate all the prime numbers between 1 and n,
where n is a value supplied by the user.
2. Write a C program to print the following pyramid pattern
* * 1 1 A
* * *** 2 2 2 3 B C
* * * ***** 3 3 3 4 5 6 D E F
* * * * *** 4 4 4 4 7 8 9 10 G H I J
* * * * * * 5 5 5 5 5 11 12 13 14 15 K L M N O
Lab 10 1. Write a C program to Read a Matrix and find Sum and Product of all
elements.
2. Write a C program to Add Two Matrix Using Multi-dimensional
Arrays
3. Write a C program to Multiply to Matrix Using Multi-dimensional
Arrays
4. Write a C program to Find Transpose of a Matrix
5. Write a C program to print lower diagonal of a matrix.
6. Write a C Program to Check whether Matrix is Magic Square or Not ?
Lab 11 1. Write a C programs that implements the Selection sort method to sort a
given array of integers in ascending order.
2. Write a C programs that implements the Bubble sort method to sort a
given array of integers in ascending order.
3. Write a C program to search a number in a list using Linear searching
Technique.
4. Write a C program to search a number in a list using Binary searching
Technique.
5. C Program to Delete duplicate elements from an array
6. Write a C program to Find the second Largest Element of an Array