Converting Rectangular to Polar Coordinates

Pages: 12
I think you're right, you don't need showPolarCoord(), at least not in its present form.

I'm referring again to the instructions,
-Prints lines showing both the input coordinates and output coordinates as ordered pairs in the style of this example: (4, 1) ---> (11.3137, 45)


At the simplest level, all you need is one or more cout statements - used inside a loop to go through all the values.

You might choose to use a function (but it is entirely up to you) to help with formatting, and make the code appear a bit less cluttered.

I don't think there will be any cin at all, after the initial input.

Topic archived. No new replies allowed.
Pages: 12