How to display the value of a sensor on a lcd display

Please post your code properly. See point 11 here How to help us help you - or How to ask a good question