#include <iostream> #include <cmath> int main() { double x = 3.0; double y = 4.0; double theta = atan2(y, x); std::cout << "Theta = " << theta << " radians" << std::endl; return 0; }