G constant in astrophisics | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 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 - avatar
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);
18th Mar 2019, 8:33 PM
Denise Roßberg
Denise Roßberg - avatar