#include <LiquidCrystal.h>
LiquidCrystal lcd(12,11,10,9,8,7);
int x=0,sum=0;
void setup() {
// put your setup code here, to run once:
lcd.begin(15,15);
for(x; x<6; x++){
lcd.print(x);
sum= sum+x;
}
lcd.print(" sum =:");
lcd.print(sum);
}
void loop() {
// put your main code here, to run repeatedly:
}