Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main()
- {
- int Person[10];
- for (int x = 0; x <= 9; x++) {
- cout << "Tell me how much Pancakes Person " << x +1 << " did eat. \n";
- cin >> Person[x];
- }
- for (int x = 0; x <= 9; x++) {
- cout << "Person " << x +1 << " did eat " << Person[x] << " Pancakes" << endl;
- }
- cout << endl;
- system("pause");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement