EX A 1 2 3 4 5 6 7 8 9 B 1 2 3 6 4 5 6 15 …
i) Check if the matrix is symmetric. ii) Display the trace of the matrix (sum of diagonal elements). iii) Check if the …
Program #include<stdio.h> void accept(int [10][10],int,int); void add(int [10][10],int [10][10],int,int); v…
Program #include <stdio.h> void main() { static int array[10][10]; int i, j, m, n; printf(&q…
Program #include <stdio.h> int cal(int); int main() { int n; printf("Enter the number of eleme…
Example 3456 6 5 4 3 Program #include <stdio.h> #include <math.h> int rev(int, in…
fib(n) = 1 if n = 1 or 2 = fib(n-2) + fib(n-1) if n>2 Progr…
Program #include <stdio.h> int power (int, int); int main() { int pow, num; long result; pr…
gcd(a,b) = a if b = 0 = gcd (b, a mod b) otherwise Program #…
Program #include <stdio.h> int sum (int a); int main() { int num, result; printf("Enter the …
Taylor series : sin(x ) = x - x^3/3! + x^ 5 /5! Program #include<stdio.h> #include<math.h> void ca…
Program #include <stdio.h> void cal(); int main() { cal(); } void cal() { char str[100]; …
Program #include <stdio.h> int checkPrimeNumber(int n); int main() { int i=2,j=0 ,flag; while(j!=10)…
Program #include <stdio.h> int display(char); int main() { char ch,c; printf("Enter character:&quo…
Program #include<stdio.h> int isEven(int); main() { int n,no,c; int i; printf("how many no.:")…
i. Distance between points. ii. Slope of line between the points. iii. Check whether they lie in the same quadrant. iv…
i. ADD ii. SUBTRACT iii. MULTIPLY iv. EXIT Program #include <stdio.h> #include <stdlib.h> int main() …
Program #include<stdio.h> void main() { int ch,num1,deno1,num2,deno2,opnum,opdeno; printf("enter tw…
Program #include<stdio.h> #include<math.h> main() { int n; double pr,n1,p,a,f,sqr,n3,n4; d…
Program #include<stdio.h> int main() { char ch; printf("Enter Character : "); scanf…