where is mistake in this code,
Code related problem
āsā should be equal to the maximum element in the array.
s = (*max_element(a, a + n)) * t;
where is mistake in this code,
āsā should be equal to the maximum element in the array.
s = (*max_element(a, a + n)) * t;