How to get Altitude?

Hi. I’m wondering in which part of the code i need to modify it, so the altitude can be shown. Any help is useful.Thank you.