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

Publicado em: 12 Dezembro 2024
no 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


Nesta página do site você pode assistir ao vídeo on-line C Programming bangla tutorials | Find Maximum & Minimum of 2D Array Elements duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Programming with Afrin 12 Dezembro 2024, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 266 vezes e gostou 3 espectadores. Boa visualização!