Invitation to Attend “Connect, Simulate and Innovate using Arduino on Cloud”, an awareness programme
If you are not an organiser or invigilator of the Subscribed college, please register using this Google form
#include <stdio.h>int main(){ int rowCount, columnCount, i, j; int firstMatrix[10][10], secondMatrix[10][10], resultMatrix[10][10]; printf("Number of rows of matrices to be subtracted : "); scanf("%d", &rowCount); printf("Number of columns matrices to be subtracted : "); scanf("%d", &columnCount); printf("Elements of first matrix : \n"); for (i = 0; i < rowCount; i++) for (j = 0; j < columnCount; j++) scanf("%d", &firstMatrix[i][j]); printf("Elements of second matrix : \n"); for (i = 0; i < rowCount; i++) for (j = 0; j < columnCount; j++) scanf("%d", &secondMatrix[i][j]); printf("Difference of entered matrices : \n"); for (i = 0; i < rowCount; i++) { for (j = 0; j < columnCount; j++) { resultMatrix[i][j] = firstMatrix[i][j] - secondMatrix[i][j]; printf("%d\t",resultMatrix[i][j]); } printf("\n"); } return 0;}ByN.L.PoojaEce departmentIRTT
Explain about for loop??
630 visits
Outline:ଲୁପ୍ସ -ଲୁପ୍ସ -ହ୍ୱାଇଲ୍ ଓ ଡୁ-ହ୍ୱାଇଲ୍ ଲୁପ୍ସ ପାଇଁ ସିଣ୍ଟାକ୍ସ -ହ୍ୱାଇଲ୍ ଓ ଡୁ-ହ୍ୱାଇଲ୍ ଲୁପ୍ସର ତୁଳନା - ଫର୍ ଲୁପ୍ସ ପାଇଁ ସିଣ୍ଟାକ୍ସ -ଏରର୍ସ
ଲୁପ୍ସ -ଲୁପ୍ସ -ହ୍ୱାଇଲ୍ ଓ ଡୁ-ହ୍ୱାଇଲ୍ ଲୁପ୍ସ ପାଇଁ ସିଣ୍ଟାକ୍ସ -ହ୍ୱାଇଲ୍ ଓ ଡୁ-ହ୍ୱାଇଲ୍ ଲୁପ୍ସର ତୁଳନା - ଫର୍ ଲୁପ୍ସ ପାଇଁ ସିଣ୍ଟାକ୍ସ -ଏରର୍ସ
Show video info
Pre-requisite