min_element finds minimum element in an array
int MIN = arr . Min ( ) ; Console . WriteLine ( " Maximum ▁ Element ▁ found ▁ is ▁ : ▁ " + MAX ) ; Console . WriteLine ( " Minimum ▁ Element ▁ found ▁ is ▁ : ▁ " + MIN ) ; int COL = MIN ; int ROW = MAX / MIN + 1 ;