img
All Q&A
1

Write a C program to print all prime no.(1-100).

20 April, 2024
#include #include main() { int i,j,n; printf("\n The prime numbers are(1-100)");
2

Write a C program to addition of two matrices.

20 April, 2024
#include #include main() { int a[10][10],b[10][10],c[10][10],m,n,p,q,i,j; printf("\n Enter the dimension of the 1st matrix");
4

Write a C program to transpose of a matrix.

20 April, 2024
#include #include main() { int a[10][10],b[10][10],m,n,i,j; printf("\n enter the dimension of the matrix");
5

Write a C program to find the multiplication table of any no.

20 April, 2024
#include #include main() { int n,i=1; printf("\n Enter any number");
6

Write a C program to find the factorial of any number.

20 April, 2024
#include #include main() { int n; long int fact=1; printf("\n Enter any number");
7

Write a C program to find the GCD of two numbers.

20 April, 2024
#include #include main() { int a,b,r,t; printf("\n Enter two number");