I don't understand why this doesn't work.
Actually I understand it somewhat because the compiler told me
"invalid operands of types "double" and "int" to binary "operator^"
So this I'm guessing means that I cant place the int and the ^ inside of double?
1 2 3 4 5 6 7 8 9 10 11
#include <iostream>
#include <string>
usingnamespace std;
int main()
{
double G = 6.673*10^-11;
cout << G << endl;
return 0;
}