+ 1
G constant in astrophisics
Ive been working hard and always seen this error. Also if you have a diffrent idea on how to do it please tell <3. https://code.sololearn.com/cYfBVZf73U74/?ref=app
1 ответ
+ 3
Math.pow returns a value from type double
double w = Math.pow()
or if you want an int value:
int w = (int)Math.pow()
Line 13: remove the space:
System.out.println(g);