Hey guys so i want to make a program tht outputs distance from Earth for example
Enter any planet or star : Venus
The distance from earth to venus = 261M Km
so do i need to create a separate variables containing distances and output them? then thr will be many many variables so any solution for this plz?
NOTE : I am coding in JAVA