The following code reads in a value for the variable numPears and then prints some output, but has one or more small output errors. Find and fix the error(s).
#include <iostream>
using namespace std;
int main() {
int numPears;
// Your program should work for any input, though.
cin >> numPears;
cout << numPears << " pears." << endl;
return 0;
}