Is this sentence correctly punctuated?

Hello, Mr. Daniels, how are you doing?

Is Hello, Mr. Daniels considered a sentence on its own?
i.e. Hello, Mr. Daniels. How are you doing?

Also, how would the sentence below be punctuated?

Hello, Doctor Williams I am one of you students.