I read this as a statement. What would be Do you have salt and pepper? or would it be the same?
It is just the same - Statement: Tu ai sare și piper. Question: Tu ai sare și piper? The difference in writing is in the punctuation marks and in speech is in the intonation.