i want to print elapsed time with every second its value will decreases ..

i want to print elapsed time with every second its value will decreases . what is a logic for it.

this is like my elapsed time is 10 and i want to print that 10 after one second value will be 9 after one second it will 8 , like that.

void setup(){
Serial.begin;
}
void loop(){
Serial.println ("10");
delay (1000);
Serial.println ("9");
delay (1000);
Serial.println ("8");
delay (1000);
Serial.println ("7");
delay (1000);
Serial.println ("6");
delay (1000);
Serial.println ("5");
delay (1000);
Serial.println ("4");
delay (1000);
Serial.println ("3");
delay (1000);
Serial.println ("2");
delay (1000);
Serial.println ("1");
delay (1000);
Serial.println ("0");
delay (1000);
}

Nilanj: i want to print elapsed time with every second its value will decreases . what is a logic for it.

this is like my elapsed time is 10 and i want to print that 10 after one second value will be 9 after one second it will 8 , like that.

Elapsed time counts up. You are looking for a countdown. Google "Arduino countdown" and you'll get thousands of examples of how to do just that.