I am learning to store some temperature values in a vector. When i execute and run it. It doesn't work, I don't know what the error is : i wrote the code from the book: Programming principles and practice using C++, the program is executing but not working properly as expected. After putting input values it is expected to give mean and median temperature but there is no result.


[see the image for my code][1]
[here i put 3 temperatures but there is no result][2]


  [1]: https://i.stack.imgur.com/IonF8.png
  [2]: https://i.stack.imgur.com/mVczj.png