int total=0;
int number;


void setup() {
Serial.begin(9600);



}

void loop() {
Serial.println("Bir sayı girin  :");
while(!Serial.available()){}
number=Serial.parseInt();
total+=number;
Serial.println("Toplam:"+String(total));


}