Ecs 251 Computer Basic and c Programming Lab
Ecs 251 Computer Basic and c Programming Lab
On
ECS 251
COMPUTER BASIC AND C PROGRAMMING LAB
2024-2025
given number.
5 Write a C program to check whether a number is a
Strong Number or not.
6 Write a program in C to find the sum of all elements of
the array.
7 Write a program in C to find the maximum and
minimum element in an array.
8 Write a program in C to separate odd and even
integers in separate arrays.
9 Write a program in C to find product of the digit of a
given number.
10 Write a program in C to find sum of digit of a given
number.
11 Write a C program to print the combination (nCr) of the
given number.
12 Write a program in C for addition of two Matrices of
same size
13 Write a program in C for multiplication of two square
Matrices.
14 Write a program in C to find transpose of a given
matrix
15 Write a program in C to find sum of right diagonals of a
matrix
LAB ASSIGMENT NAME –COMPUTER BASIC AND C PROGRAMMING LAB