- #1
dcs1953
- 3
- 0
Code:
public class GravityCalculation {
public static void main (String [] args) {
double G = 6.673e-11;
double M = 5.98e24;
double accelGravity = 0.0;
double distCenter = 0.0;
distCenter = 6.38e6;
/* Your solution goes here */
System.out.println("accelGravity: " + accelGravity);
return;
}
}
Last edited by a moderator: