// leap year by @bhi//
#include<stdio.h>
#include<conio.h> void main()
{
int year;
clrscr();
printf("Enter the Year that you want to check : ");
scanf("%d", &year);
if(year % 400 == 0)
printf("%d is a Leap Year.", year);
else
if(year % 100 == 0)
printf("%d is not a Leap Year.", year);
else
if(year % 4 == 0)
printf("%d is a Leap Year.", year);
else
printf("%d is not a Leap Year", year);
printf("\nPress any key to Quit...");
getch();
}
You basically write a nested for loop (one for within another one), to copy the elements of the matrix to a new matrix.
write a vb program to find the magic square
To write a C program to find the adjoint of a matrix, first, you need to create a function to calculate the cofactor of each element in the matrix. Then, construct the adjoint by transposing the cofactor matrix. The program should read the matrix size and elements from user input, compute the cofactors using nested loops, and finally display the adjoint matrix by transposing the cofactor matrix. Make sure to handle memory allocation for dynamic matrices if needed.
For first find an example program.
Write a program to find the grade obtained by the students of a class
Yes, do write. That's what you always have to do when you have got a homework-program.
write an assembly language program to find sum of N numbers
write a java program to find factorial using recursive and non recursive
Write a c program to compute the surface area and volume of a cube
program to find maximum of two numbers using pointers
i am sam
matrix