cout << "If you have \n"; cout << number_of_pods; cout << " pods, and " << endl;

... cout << "you have "; cout << total_carrots; cout << " peas in all the pods." << endl; return 1; // return = i'm done , 1 = "success" , 0 = "fail", for most people. }
...
cout << "you have ";
cout << total_carrots;
cout << " peas in all the pods." << endl;
system("PAUSE");
return 1;
}
... cout << "you have "; cout << total_carrots; cout << " peas in all the pods." << endl; cin >> [any variable]; // I'm not sure about cin.getline vs cin >> etc. Maybe investigate. return 1; }