+ 1
i heat this quetion : if diameter of moon is 1/4th of diameter of earth desing an gorithm that computes the diameter of moon assume diameter of earth as 12800km Hint : diameter of moon = 1/4* diameter of earth? pleas help me ☹️😭
6 Respuestas
+ 9
Isn't this basic math? You just divide the diameter of the earth by 4.
12800 / 4 = 3200 km
or
12800 * 0.25 = 3200 km
+ 8
What do you mean?
Just write what you mean in your language
+ 7
int earthRadius=128000;
int moonRadius=earthRadius/4;
System.out.println(moonRadius);
Thats the easiest way to explain it.
+ 1
anyway thenk you
0
No pc desing an algorithm😩
0
beside code