1234567891011121314151617181920212223242526272829
#include <iostream> using namespace std; int main() { int x; int y; for(x=1 ; x<=10; x++) { cout << "Enter the number of pancakes eaten by "<< x << "." << endl; cin >> y; } cout << "Person - Pancakes\n"; for (x=1 ;x<=10; x++) { cout << x << " - "<< y << endl; } return 0; }