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

Published: 12 December 2024
on channel: 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


On this page of the site you can watch the video online C Programming bangla tutorials | Find Maximum & Minimum of 2D Array Elements with a duration of hours minute second in good quality, which was uploaded by the user Programming with Afrin 12 December 2024, share the link with friends and acquaintances, this video has already been watched 266 times on youtube and it was liked by 3 viewers. Enjoy your viewing!