Printing the value only once to Serial Monitor

I am working on YF-S201 Water Flow Sensor and here is my code

byte statusLed    = 13;
byte sensorInterrupt = 0;  
byte sensorPin       = 2;
float calibrationFactor = 4.5;
volatile byte pulseCount;  
float flowRate;
unsigned int flowMilliLitres;
unsigned long totalLitres;
unsigned long oldTime;
int x=0;
void setup()
{
 Serial.begin(38400);
 pinMode(statusLed, OUTPUT);
 digitalWrite(statusLed, HIGH);   
 //digitalWrite(statusLed, LOW); 
 pinMode(sensorPin, INPUT);
 digitalWrite(sensorPin, HIGH);
 pulseCount        = 0;
 flowRate          = 0.0;
 flowMilliLitres   = 0;
 totalLitres  = 0;
 oldTime           = 0;
 attachInterrupt(sensorInterrupt, pulseCounter, FALLING);
}


void loop()
{
if((millis() - oldTime) > 1000)    
{ 
 detachInterrupt(sensorInterrupt);
 flowRate = ((1000.0 / (millis() - oldTime)) * pulseCount) / calibrationFactor;
 oldTime = millis();
 flowMilliLitres = (flowRate / 60) * 1000;
 totalLitres += flowMilliLitres;
 unsigned int frac;
 Serial.print("Flow rate: ");
 Serial.print(int(flowRate));  
 Serial.print(".");             
 frac = (flowRate - int(flowRate)) * 10;
 Serial.print(frac, DEC) ;      
 Serial.print("L/min");
 Serial.print("  Output Liquid Quantity: ");             
 Serial.print(float(totalLitres)/1000);
 Serial.println("L"); 
 
 pulseCount = 0;
 attachInterrupt(sensorInterrupt, pulseCounter, FALLING);
}
}
void pulseCounter()
{
pulseCount++;
}

Please make changes so that totalLitres value will be displayed once after calculating the whole value and repost the code.
Thank You

Please edit your post to add code tags, as instructed in "How to use this forum".

Please make changes so that totalLitres value will be displayed once after calculating the whole value and repost the code.

Post payment first.