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

Publié le: 12 décembre 2024
sur la chaîne: 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


Sur cette page du site, vous pouvez voir la vidéo en ligne C Programming bangla tutorials | Find Maximum & Minimum of 2D Array Elements durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Programming with Afrin 12 décembre 2024, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 266 fois et il a aimé 3 téléspectateurs. Bon visionnage!