#include <iostream> using namespace std; // your code here: declare namespace A with int threshold=50 // your code here: declare namespace B with int threshold=75 namespace A{int threshold = 50;}; namespace B{int threshold = 75;}; int main() { cout << "A.threshold=" << A::threshold << "\n"; cout << "B.threshold=" << B::threshold << "\n"; return 0; }
Test Cases
Test Results
Input
Expected Output
A.threshold=50 B.threshold=75