I want the lcd to print a variable onto the screen. For example,
int randomVariable=0;
lcd.print("randomVariable");
I want it to print the value of Randomvariable not randomvariable the word. Also thsi is not all the code this is just an example and this would need more code to actually work.
Most all of the Arduino functions have a reference. Here is the reference for print.