how to print a variable in a 16,2 lcd?

i want to print on lcd like this:

Any of the 216 or 220 LCD clock projects in the forum will have ample code! Just search.

If you are not very picky, then investigate the <Streaming.h> library.

#include <Streaming.h>
.......
// code here to Position x,y and line0 or line1...
LCD << "Temp: " << temp << "F°" ;