Respuesta :

The pseudocode is given by:

procedure avg(maxTemp, minTemp)

      mean <- (minTemp + maxTemp)/2;

      return mean;

end avg;

--------------------------

  • First, the function is declared as avg, and has two inputs, maxTemp for the maximum temperature and minTemp for the minimum temperature, thus:

procedure avg(maxTemp, minTemp)

end avg;

  • Then, the average temperature is calculated as the mean of the maximum and minimum temperature, and is returned. Thus:

mean <- (minTemp + maxTemp)/2;

return mean;

A similar problem is given at https://brainly.com/question/17600697