#include <iostream>
using namespace std;
int main()
{
// your code here
return 0;
}
And read the Announcement .
Dave Sinkula
long time no c
5,058 posts since Apr 2004
Reputation Points: 2,780
Solved Threads: 314
Do you know how to do it on paper? If not then there's no way you can tell the computer how to do it. Understand the problem first, then try your hand at solving it. If (only then) you get stuck, we'll be happy to give you hints.
Narue
Bad Cop
15,460 posts since Sep 2004
Reputation Points: 6,464
Solved Threads: 1,401
>i need help figuring out what my constants and variables would be
You probably need a variable for the degrees, and a constant for the conversion ratio. If you really want to you can also use a variable for the bearings, though you probably don't need it.
Or were you expecting someone to tell you how to perform the conversion? That's what google is for.
Narue
Bad Cop
15,460 posts since Sep 2004
Reputation Points: 6,464
Solved Threads: 1,401