#include using namespace std; namespace myspace { const double PI = 3.141592653589793; int sqr(const int n) { return n * n; } double sqr(const double x) { return x * x; } int length(const char* s) { int n = 0; while (*s++) n++; return n; } } namespace other { int sqr(int n) { return n * n * n; } } int main() { using namespace myspace; int a, b; cout << "Pi="; cout.precision(8); cout << PI << endl; cin >> a >> b; int c = a + b; cout << "c="; cout.width(5); cout.fill('_'); cout << showpos << other::sqr(c) << endl << noshowpos; cout << length("ABC"); }