so how should i actually create few points whose polar coordinates and invoke my new method already , my head confusing due to i done 2 algorithm multiplication today . sorry for it
That's just asking you to try some data to test that your code works correctly. In function main() add a few points, for example
1 2 3
Point a(5,5);
Point b(1, sqrt(3.0));
Point c(3, -4);
Then call the polarCoordinate() method and output the resulting values of radius and theta.
The expected results for my suggested data is
a will have radius = 7.07106781186548 and theta = 45
b should have radius = 2 and theta = 60
and c has radius = 5 and theta = -53.130102354156
Of course the choice of data is up to you, these are just examples.
thanks for your support !
it's totally working fine
next time have problem can i inbox u again?
your help is well understanding and u are patiently to teach me.