#include #include using namespace std; int main() { int a; cout << "For Polar to Rectangular press 1. \nFor Rectangular to Polar press 2.\n "; cin >> a; if (a = 1) { double r, theta, x_solved, y_solved; cout << "r value? "; cin >> r; cout << "theta value? "; cin >> theta; x_solved = r*cos(theta); y_solved = r*sin(theta); cout<<"The coordinates are ("<