Advertisement
DrDiagramm

Untitled

Feb 7th, 2016
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7.  
  8. int Person[10];
  9.  
  10. for (int x = 0; x <= 9; x++) {
  11. cout << "Tell me how much Pancakes Person " << x +1 << " did eat. \n";
  12. cin >> Person[x];
  13.  
  14.  
  15.  
  16. }
  17. for (int x = 0; x <= 9; x++) {
  18. cout << "Person " << x +1 << " did eat " << Person[x] << " Pancakes" << endl;
  19.  
  20. }
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27. cout << endl;
  28. system("pause");
  29. return 0;
  30. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement