[Solved] Char is given. Array is given. If char is ‘A’ print max. If it is “B” print min. Otherwise print mean value of max and min elements



Char is given. Array is given. If char is ‘A’ print max. If it is “B” print min. Otherwise print mean value of max and min elements

solved Char is given. Array is given. If char is ‘A’ print max. If it is “B” print min. Otherwise print mean value of max and min elements