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

Publicado el: 12 diciembre 2024
en el canal de: 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


En esta página del sitio puede ver el video en línea C Programming bangla tutorials | Find Maximum & Minimum of 2D Array Elements de Duración hora minuto segunda en buena calidad , que subió el usuario Programming with Afrin 12 diciembre 2024, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 266 veces y le gustó 3 a los espectadores. Disfruta viendo!