Fifteen men on the dead mens chest
Chat with our AI personalities
X = 10 c = 100 d = 500 m = 1000
#include <stdio.h> main() { int m, n, c, d, A[10][10],temp=0; printf("\nEnter the number of rows and columns for matrix A:\n"); scanf("%d%d", &m, &n); printf("\nEnter the elements of matrix A:\n"); for ( c = 0 ; c < m ; c++ ) for ( d = 0 ; d < n ; d++ ) scanf("%d", &A[c][d]); printf("\nMatrix entered is:\n"); for ( c = 0 ; c < m ; c++ ) { for ( d = 0 ; d < n ; d++ ) printf("%d\t", A[c][d]); printf("\n"); } printf("\n\nMaximum element of each row is:\n"); for(c=0;c<m;c++) { for(d=0;d<n;d++) { if(A[c][d]>temp) temp=A[c][d]; } printf("\n\t\tRow %d: %d",c+1,temp); temp=0; } temp=A[0][0]; printf("\n\nMinimum element of each coloumn is:\n"); for(c=0;c<n;c++) { for(d=0;d<m;d++) { if(A[d][c]<temp) temp=A[d][c]; } printf("\n\t\tColoumn %d: %d",c+1,temp); temp=A[d][c] ; } return 0; }
15 men on a dead man's chest, yo ho ho and a bottle of rum.
L=50 c=100 d=500 m=1000
Recall that the circumference of a circle is: C = πd where d is the diamater Let d = 39 m. Then: C = 39π m