namespace c++
#include <iostream>
// Creating a namespace called "math"
namespace math {
// Defining a function to add two numbers
int add(int a, int b) {
return a + b;
}
// Defining a function to subtract two numbers
int subtract(int a, int b) {
return a - b;
}
}
int main() {
// Using the add and subtract functions from the "math" namespace
std::cout << "Addition: " << math::add(5, 3) << std::endl;
std::cout << "Subtraction: " << math::subtract(5, 3) << std::endl;
return 0;
}