MnopXyz: Handsome boy
My Details
- I am: 23 yr-old man seeking woman, 19-35
- Located in: Bengaluru, Karnataka, India, South Asia
- Last online: Online over 1 month
- Height: 5' 8" (173 cm)
- Body Type: Fit/Athletic
- Hair Color: Black
- Eye Color: Black
- Ethnicity: White/Caucasian
- Education: Bachelors Degree
- Religion: Hindu
- Occupation: Military
- Income: $25,000 to $50,000
- Smokes: Never
- Drinks: Never
- Marital Status: Never Married
- Has kids: No
- Wants kids: No Way
- Sign: Leo
More About Me
#include <stdio.h>
#define ROWS_A 3
#define COLS_A 2
#define ROWS_B 2
#define COLS_B 4
void multiplyMatrices(int matA, int matB, int result) {
for (int i = 0; i < ROWS_A; i++) {
for (int j = 0; j < COLS_B; j++) {
result = 0;
for (int k = 0; k < COLS_A; k++) {
result += matA * matB;
}
}
}
}
void displayMatrix(int matrix) {
for (int i = 0; i < ROWS_A; i++) {
for (int j = 0; j < COLS_B; j++) {
printf("%d\t", matrix);
}
printf("\n");
}
}
int main() {
int matrixA = {{1, 2},
{3, 4},
{5, 6}};
int matrixB = {{7, 8, 9, 10},
{11, 12, 13, 14}};
int resultMatrix;
multiplyMatrices(matrixA, matrixB, resultMatrix);
printf("Matrix A:\n");
displayMatrix(matrixA);
printf("\nMatrix B:\n");
displayMatrix(matrixB);
printf("\nResult Matrix:\n");
displayMatrix(resultMatrix);
return 0;
}
More About my Match
#include <stdio.h>
#define ROWS_A 3
#define COLS_A 2
#define ROWS_B 2
#define COLS_B 4
void multiplyMatrices(int matA, int matB, int result) {
for (int i = 0; i < ROWS_A; i++) {
for (int j = 0; j < COLS_B; j++) {
result = 0;
for (int k = 0; k < COLS_A; k++) {
result += matA * matB;
}
}
}
}
void displayMatrix(int matrix) {
for (int i = 0; i < ROWS_A; i++) {
for (int j = 0; j < COLS_B; j++) {
printf("%d\t", matrix);
}
printf("\n");
}
}
int main() {
int matrixA = {{1, 2},
{3, 4},
{5, 6}};
int matrixB = {{7, 8, 9, 10},
{11, 12, 13, 14}};
int resultMatrix;
multiplyMatrices(matrixA, matrixB, resultMatrix);
printf("Matrix A:\n");
displayMatrix(matrixA);
printf("\nMatrix B:\n");
displayMatrix(matrixB);
printf("\nResult Matrix:\n");
displayMatrix(resultMatrix);
return 0;
}
Occupation
Good guy
To Report Abuse: If this profile or the behavior of the member is inappropriate, click here to Report Abuse »