The subject "cloud" is singular, so the verb must also be singular.
"Float" should be "floats" to agree with the singular subject.
Correct sentence: "I wandered lonely as a cloud that floats on high over hills and vales."
Get instant updates and alerts directly from our site.
Install this app on your device for quick access right from your home screen.