C Programming bangla tutorials | Find Maximum & Minimum of 2D Array Elements

Veröffentlicht am: 12 Dezember 2024
auf dem Kanal: Programming with Afrin
266
3

C Programming bangla tutorials | Find Maximum & Minimum of 2D Array Elements




The idea is to traverse the matrix using two nested loops, one for rows and one for columns, and find the maximum and minimum element. for maximum value, Initialize a variable max with a minimum value and traverse the matrix and compare every time if the current element is greater than a maxElement. If yes then update maxElement with the current element. for minimum value, Initialize a variable min with a minimum value and traverse the matrix and compare every time if the current element is less than a minElement. If yes then update minElement with the current element. Lastly, Print updated max or min value.



#cprogramming#max#min#2darray



Playlist link:
   / programmingwithafrin  





(ignore)
programmig with afrin,Programming with Afrin,Afrin with Programming,programming with Afrin,C Programming bangla tutorials | Find Maximum & Minimum of 2D Array Elements,2d array in c,array in c,loop in c,maximum and minimum of array,matrix,initialization of array,array input output in c,c for beginners,scanf,array declaration in c,if else in c,array traversal in c,if ese,2d matrix


Auf dieser Seite können Sie das Online-Video C Programming bangla tutorials | Find Maximum & Minimum of 2D Array Elements mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Programming with Afrin 12 Dezember 2024 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 266 Mal angesehen und es wurde von 3 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!