#include <LiquidCrystal.h>
const int rs=12,en=11,d4=5,d5=4,d6=3,d7=2;
LiquidCrystal lcd(rs,en,d4,d5,d6,d7);
void setup() {
// put your setup code here, to run once:
lcd.begin(16,2);
lcd.print("Welcome");
delay(1000);
lcd.clear();
lcd.print("welcome MSclass");
delay(1000);
lcd.clear();
}
void loop() {
// put your main code here, to run repeatedly:
int x=random(100);
lcd.setCursor(0,0);
lcd.print("Generated Number");
lcd.setCursor(7,1);
lcd.print(x);
delay(1000);
}