#includeThis code converts a 45-degree angle in radians to a bearing in degrees using the Angle AsBearing function. The result is then printed to the console. The Angle AsBearing function is part of the C++ standard library and does not require any additional package or library.double angle = M_PI / 4; // 45-degree angle in radians double bearing = (angle * 180 / M_PI + 360) % 360; // convert angle to bearing std::cout << "Bearing: " << bearing << std::endl;