//what is the problem in following program?

#include <iostream>
#include <cmath>

using namespace std;

// FUNCTION PROTYPE FOR test_polar
void test_polar();

// FUNCTION PROTOTYPE FOR compute_coord

// FUNCTION PROTOTYPE FOR compute_distance
double compute_distance(double x1, double y1,double x2,double y2);

// FUNCTION PROTOTYPE FOR output_point
void output_point(double x, double y);

// DO NOT MODIFY THE MAIN ROUTINE IN ANY WAY
int main()
{
double r1(0.0), a1(0.0); // Polar coord (r1, a1) of point 1
double r2(0.0), a2(0.0); // Polar coord (r2, a2) of point 2
double x1(0.0), y1(0.0); // Cartesian (x,y) coordinates of point 1
double x2(0.0), y2(0.0); // Cartesian (x,y) coordinates of point 2
double distance(0.0); // Distance between points

// Call test routine
test_polar();

// Read two points in polar coordinates

// Compute Cartesian (x,y) coordinates

// Compute distance from point 1 to point 2
distance = compute_distance(x1, y1, x2, y2);

cout << "Distance from ";
output_point(x1, y1);
cout << " to ";
output_point(x2,y2);
cout << " = " << distance << endl;

return 0;
}

// DO NOT MODIFY THIS FUNCTION IN ANY WAY
// test_polar: Test functions in polar.cpp
void test_polar()
{
double x(0.0), y(0.0); // Cartesian (x,y) coordinates
double distance(0.0); // distance between points

cout << "Testing:" << endl;

cout << "45 degrees equals " << radians << " radians." << endl;

cout << "Polar coordinates (2,30) = Cartesian coordinates ";
output_point(1.73, 1.00);
cout << endl;

compute_coord(2, M_PI/3, x, y);
cout << "Polar coordinates (2,60) = Cartesian coordinates ";
output_point(x, y);
cout << endl;

distance = compute_distance(1.73, 1.00, 1.00, 1.73);
cout << "Distance from (1.73,1.00) to (1.00,1.73) = "
<< distance << endl;

cout << "End test." << endl;
cout << endl;
}

{
cout<<"Enter polar coordinates of point (radius, angle) : "<<endl;

}

{
double radians=angle * M_PI / 180;
}

// DEFINE FUNCTION compute_coord here:
void compute_coord(double r, double radians, double & x, double & y)
{

}

// DEFINE FUNCTION distance here:

double compute_distance(double x1, double y1, double x2, double y2)

{
double distance=sqrt((x2-x1)^2+(y2-y1)^2);
return distance;
}

// DEFINE FUNCTION output_point here:

void output_point(double x, double y)
{
cout.precision(2);

}

//what is the problem it has?

Use code brackets!