Yes, absolutely! This program can handle sentences as well. Just input your sentence, and it will identify and print the vowels within it.