![]() |
Data Abstraction and Problem Solving with C++Walls and Mirrorsby Frank M. Carrano |
![]() |
c01p061.cppGo to the documentation of this file.00001 00015 int main() 00016 { 00017 int x1, x2, x3, i; 00018 char name[8]; 00019 00020 for (cin >> x1 >> x2 >> x3; 00021 x1 != 0; 00022 cin >> x1 >> x2 >> x3) 00023 { for (i = 0; i < 8; ++i) 00024 cin >> name[i]; 00025 00026 cout << x1 << x2 << x3 << endl; 00027 00028 for (i = 0; i < 8; ++i) 00029 cout << name[i]; 00030 cout << endl; 00031 } // end for 00032 return 0; 00033 } // end main |