![]() |
Data Abstraction and Problem Solving with C++Walls and Mirrorsby Frank M. Carrano |
![]() |
friends412.cppGo to the documentation of this file.00001 00019 void readSphereData(Sphere& s) 00020 { 00021 cout << "Enter sphere radius: "; 00022 cin >> s.theRadius; 00023 } // end readSphereData 00024 00025 void writeSphereData(Sphere& s) 00026 { 00027 cout << "The radius of the sphere is " 00028 << s.theRadius << endl; 00029 } // end writeSphereData |