At first , i ignored your videos . Because i thought you makes to divert from the subject to you . But after listening to your class , I'm impressed with both .
I am learning java I was stuck with this problem on java because I was unable to understand the working of the sum matrix and as always you cleared my doubt thank you so much ma'am program may be different but logic and working is same
@@nishasharma8752 if you are complete beginner then learn from Harry his channel name is code with Harry and teaching language is Hindi but if you want to learn Java along with DSA then there is a channel called Kunal khuswaha just go there and see the Java playlist it is one of the best course for java and DSA but the language he follows is English so yaa 1 Code with Harry 2 Kunal Khuswaha
Hi jenny before you write the logic for addition of 2 matrixes & sum of rows and column in white board, I tried out from my end oh my god😱 I can be able to write the logic and completely match with your code. All the credits to you hats of you👏
#include //W.A.P to add two matrix in 2-d array int main(){ int a[2][3]={1,1,1,1,1,1}; int b[2][3]={1,1,1,1,1,1}; int sum[2][3]; int i,j; printf("Enter elements of first matrix "); for ( i = 0; i < 2; i++) { for ( j = 0; j < 3; j++) { scanf("%d",&a[i][j]); } } printf("first matrix: "); for ( i = 0; i < 2; i++) { for ( j = 0; j < 3; j++) { printf("%d\t",a[i][j]); } printf(" "); } printf("Enter elements of second matrix "); for ( i = 0; i < 2; i++) { for ( j = 0; j < 3; j++) { scanf("%d",&b[i][j]); } } printf("Second matrix: "); for ( i = 0; i < 2; i++) { for ( j = 0; j < 3; j++) { printf("%d\t",b[i][j]); } printf(" "); } for ( i = 0; i < 2; i++) { for ( j = 0; j < 3; j++) { sum[i][j]=a[i][j]+b[i][j]; } } printf("Sum of two matrix: "); for ( i = 0; i < 2; i++) { for ( j = 0; j < 3; j++) { printf("%d\t",sum[i][j]); } printf(" "); } return 0; }
The answer of above question is how i tryed. #include int main(){ int arr1[2][3]; int arr2[2][3]; int arr3[2][3]; printf("Enter value of array 1 "); for(int i=0;i
I was a MA student working in IT company i was thinking to do BCA saw your video on youtube you have reminded me my chemistry teacher for her I have taken science in 12th and now for you taking admission in BCA no offence you are a great teacher and you look beautiful 😍 after watching your video i took admission in BCA so that i can watch you regularly
Mam thanks a lot for teaching When I am getting to solve transpoese of matrix I can't do that properly but this addition program I have get properly without any single error thanks a lot
Hello mam in multiplication of a matrix we cannot multiply two matrices if they have different order then in addition of matrices ,can we add them by default values or considering them as zero
@@Abhishekkumar-rl8ju Brother, I have completed the whole lecture after then I have commented. Here I mentioned the beauty which is her teaching methodology.
ASSIGNMENT: #include #include #define N 2 #define M 3 int main() { int a[N][M],b[M][N],c[N][M],i,j; printf("enter the 1st Matrix : "); //take 1st matrix for(i=0;i