Serial.println() was not printing on serial monitor

thank you for the solution. i closed this issue.