KSOU MSc IT C LAB Programs | Program to find the Factorial of a Number using Recursion. Here is the C-Program to find the Factorial of a Number using Recursion. The Program is tested and gives accurate results for all the combinations. /* Program to find the Factorial of a Number using Recursion */ #include [...]
Archive for the ‘Books’ Category
Program to Transpose MxN Matrix
KSOU MSc IT C LAB Programs | Program to Transpose MxN Matrix. Here is the C-Program to Transpose MxN Matrix. The Program is tested and gives accurate results for all the combinations. /* Program to transpose MxN Matrix. */ #include<stdio.h> main() { int a[10][10], i, j, r, c; clrscr(); printf(“\n Enter the size of the [...]
Program to Multiply two MxN Matrices
KSOU MSc IT C LAB Programs | Program to Multiply two MxN Matrices. Here is the C-Program to Multiply two MxN Matrices. The Program is tested and gives accurate results for all the combinations. /* Program to Multiply MxN Matrices. */ #include<stdio.h> main() { int a[10][10], b[10][10], prod[10][10], i, j, k,r1, r2, c1, c2; clrscr(); [...]
Program to Add and Subtract two MxN Matrices
KSOU MSc IT C LAB Programs | Program to Add and Subtract two MxN Matrices. Here is the C-Program to Add and Subtract two MxN Matrices. The Program is tested and gives accurate results for all the combinations. /* Program to Add and Subtract two MxN Matrices. */ #include<stdio.h> main() { int a[10][10], b[10][10], m, [...]
Program to search an element using Linear Search Technique.
KSOU MSc IT C LAB Programs | Program to search an element using Linear Search Technique. Here is the C-Program to search an element using Linear Search Technique. The Program is tested and gives accurate results for all the combinations. /* Program to search an element using Linear Search Technique. */ #include<stdio.h> main() { int [...]
Program to generate Prime Numbers using FOR Loop
KSOU MSc IT C LAB Programs | Program to generate Prime Numbers using FOR Loop Here is the C-Program to generate Prime Numbers using FOR Loop. The Program is tested and gives accurate results for all the combinations. Prime Numbers are the Numbers that are divisible only by 1 and themselves. /* Program to generate [...]
Program to find the Reverse of a Number
KSOU MSc IT C LAB Programs | Program to find the reverse of a Number Here is the C-Program to find the reverse of a Number, sum and count the number of digits and check whether the given string is palindrome or not. The Program is tested and gives accurate results for all the combinations. [...]
Program to find the Fibonacci Series
KSOU MSc IT C LAB Programs | Program to find the Fibonacci Series Here is the C-Program to find the FIBONACCI Series using Do-While LOOP. The Program is tested and gives accurate results for all the combinations. Fibonacci series begins with 0 and is the combination of the sum of the previous 2 numbers : [...]
Program to find the Arithmetic Operations using Switch Statement
KSOU MSc IT C LAB Programs | Program to find the Arithmetic Operations using Switch Statement Here is the C-Program to find the Arithmetic Operations using SWITCH Statements. The Program is tested and gives accurate results for all the combinations. /* Program to find the Arithmetic Operations using Switch Statement */ #include<stdio.h> main() { int [...]
Program to find the roots of Quadratic Equations
KSOU MSc IT C LAB Programs | C Program to find the roots of Quadratic Equations Here is the C-Program to find the roots of Quadratic Equations using Nested If Statements. The program also makes use of the Switch Statement for the same. The Program is tested and gives accurate results for all the combinations. [...]