G constant in astrophisics | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 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

18th Mar 2019, 8:27 PM
amitz
amitz - avatar
1 Resposta
+ 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);
18th Mar 2019, 8:33 PM
Denise RoƟberg
Denise RoƟberg - avatar